debian-mirror-gitlab/app/models/blob_viewer/client_side.rb

12 lines
216 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
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