gitlab-org--gitlab-foss/app/models/blob_viewer/image.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
300 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2017-04-13 17:21:07 +00:00
module BlobViewer
class Image < Base
include Rich
include ClientSide
self.partial_name = 'image'
self.extensions = UploaderHelper::SAFE_IMAGE_EXT
self.binary = true
self.switcher_icon = 'doc-image'
2017-04-13 17:21:07 +00:00
self.switcher_title = 'image'
end
end