debian-mirror-gitlab/app/models/blob_viewer/image.rb

15 lines
300 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
2017-08-17 22:00:37 +05:30
module BlobViewer
class Image < Base
include Rich
include ClientSide
self.partial_name = 'image'
2019-12-21 20:55:43 +05:30
self.extensions = UploaderHelper::SAFE_IMAGE_EXT
2017-08-17 22:00:37 +05:30
self.binary = true
self.switcher_icon = 'picture-o'
self.switcher_title = 'image'
end
end