2018-11-20 20:47:30 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
module DiffViewer
|
|
|
|
class Image < Base
|
|
|
|
include Rich
|
|
|
|
include ClientSide
|
|
|
|
|
|
|
|
self.partial_name = 'image'
|
|
|
|
self.extensions = UploaderHelper::IMAGE_EXT
|
|
|
|
self.binary = true
|
|
|
|
self.switcher_icon = 'picture-o'
|
|
|
|
self.switcher_title = 'image diff'
|
|
|
|
end
|
|
|
|
end
|