module Roda::RodaPlugins::Base::RequestMethods
def path
r.path
r.env['PATH_INFO'] = '/bar'
r.env['SCRIPT_NAME'] = '/foo'
This an an optimized version of Rack::Request#path.
def path e = @env "#{e["SCRIPT_NAME"]}#{e["PATH_INFO"]}" end
def path e = @env "#{e["SCRIPT_NAME"]}#{e["PATH_INFO"]}" end