debian-mirror-gitlab/app/models/blob_viewer/client_side.rb
2017-08-17 22:00:37 +05:30

11 lines
216 B
Ruby

module BlobViewer
module ClientSide
extend ActiveSupport::Concern
included do
self.client_side = true
self.max_size = 10.megabytes
self.absolute_max_size = 50.megabytes
end
end
end