public Method

RouteSet.extract_request_environment(request)

Subclasses and plugins may override this method to extract further attributes from the request, for use by route conditions and such.

Source Code

# File action_controller/routing/route_set.rb, line 432
def extract_request_environment(request)
  { :method => request.method }
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.