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

12 lines
215 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
module BlobViewer
module ServerSide
extend ActiveSupport::Concern
included do
self.client_side = false
self.max_size = 2.megabytes
self.absolute_max_size = 5.megabytes
end
end
end