debian-mirror-gitlab/app/models/blob_viewer/image.rb
2020-08-09 17:44:08 +05:30

14 lines
300 B
Ruby

# frozen_string_literal: true
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'
self.switcher_title = 'image'
end
end