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

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

14 lines
238 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
module Rich
extend ActiveSupport::Concern
included do
self.type = :rich
2020-07-28 23:09:34 +05:30
self.switcher_icon = 'doc-text'
2017-08-17 22:00:37 +05:30
self.switcher_title = 'rendered file'
end
end
end