2018-08-03 13:22:24 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-06-06 17:28:06 -04:00
|
|
|
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'
|
2018-12-13 12:49:05 -05:00
|
|
|
self.switcher_title = _('image diff')
|
2017-06-06 17:28:06 -04:00
|
|
|
end
|
|
|
|
end
|