gitlab-org--gitlab-foss/app/models/diff_viewer/rich.rb

13 lines
241 B
Ruby

# frozen_string_literal: true
module DiffViewer
module Rich
extend ActiveSupport::Concern
included do
self.type = :rich
self.switcher_icon = 'doc-text'
self.switcher_title = _('rendered diff')
end
end
end