Class: BrickLayer::ServeGridFsFile

Inherits:
Object
  • Object
show all
Defined in:
lib/brick_layer/serve_grid_fs_file.rb

Class Method Summary collapse

Class Method Details

.call(env) ⇒ Object



3
4
5
6
7
# File 'lib/brick_layer/serve_grid_fs_file.rb', line 3

def call(env)
  if env["PATH_INFO"] =~ /^\/files\/(.+)$/
    process_request(env, $1)
  end
end