debian-mirror-gitlab/app/models/diff_viewer/simple.rb

14 lines
239 B
Ruby
Raw Normal View History

2018-11-20 20:47:30 +05:30
# frozen_string_literal: true
2017-09-10 17:25:29 +05:30
module DiffViewer
module Simple
extend ActiveSupport::Concern
included do
self.type = :simple
self.switcher_icon = 'code'
2019-02-13 22:33:31 +05:30
self.switcher_title = _('source diff')
2017-09-10 17:25:29 +05:30
end
end
end