gitlab-org--gitlab-foss/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

# frozen_string_literal: true
2017-04-13 17:21:07 +00:00
module BlobViewer
module Rich
extend ActiveSupport::Concern
included do
self.type = :rich
self.switcher_icon = 'doc-text'
2017-04-13 17:21:07 +00:00
self.switcher_title = 'rendered file'
end
end
end