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

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

module DiffViewer
  class Image < Base
    include Rich
    include ClientSide

    self.partial_name = 'image'
    self.extensions = UploaderHelper::IMAGE_EXT
    self.binary = true
    self.switcher_icon = 'picture-o'
    self.switcher_title = 'image diff'
  end
end