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

12 lines
210 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
module BlobViewer
module Rich
extend ActiveSupport::Concern
included do
self.type = :rich
self.switcher_icon = 'file-text-o'
self.switcher_title = 'rendered file'
end
end
end