Welcome to mirror list, hosted at ThFree Co, Russian Federation.

rich.rb « diff_viewer « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a37531f66d4fcba340bd1eb2dba43f2d971f4578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module DiffViewer
  module Rich
    extend ActiveSupport::Concern

    included do
      self.type = :rich
      self.switcher_icon = 'doc-text'

      def self.switcher_title
        _('rendered diff')
      end
    end
  end
end