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

11 lines
215 B
Ruby

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