debian-mirror-gitlab/app/models/diff_viewer/rich.rb
2017-09-10 17:25:29 +05:30

11 lines
210 B
Ruby

module DiffViewer
module Rich
extend ActiveSupport::Concern
included do
self.type = :rich
self.switcher_icon = 'file-text-o'
self.switcher_title = 'rendered diff'
end
end
end