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 13:04:29 -04: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 13:04:29 -04:00
end
end