gitlab-org--gitlab-foss/app/models/diff_viewer/image.rb
2017-06-14 10:12:21 -05:00

12 lines
269 B
Ruby

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