Class: Lithium::Request

Inherits:
Rack::Request
  • Object
show all
Defined in:
lib/lithium/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(env) ⇒ Request

Returns a new instance of Request.



6
7
8
9
# File 'lib/lithium/base.rb', line 6

def initialize(env)
  env['PATH_INFO'] = '/' if env['PATH_INFO'].empty?
  super
end