gitlab-org--gitlab-foss/app/models/blob_viewer/text.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
249 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2017-04-13 17:04:29 +00:00
module BlobViewer
class Text < Base
include Simple
include ServerSide
self.partial_name = 'text'
self.binary = false
self.collapse_limit = 1.megabyte
self.size_limit = 10.megabytes
2017-04-13 17:04:29 +00:00
end
end