Method: RubyApp::Rack::Route#call

Defined in:
lib/ruby_app/rack/route.rb

#call(environment) ⇒ Object



16
17
18
19
# File 'lib/ruby_app/rack/route.rb', line 16

def call(environment)
  # RubyApp::Log.debug("ROUTE     #{RubyApp::Request.request_method} #{RubyApp::Request.path.gsub(/^#{RubyApp::Application.root_or_nil}/,'')}")
  RubyApp::Rack::Route.do_route(RubyApp::Request.request_method, RubyApp::Request.path.gsub(/^#{RubyApp::Application.root_or_nil}/,''))
end