public Method

AbstractRequest.path_parameters

Returns a hash with the parameters used to form the path of the request. Returned hash keys are strings. See symbolized_path_parameters for symbolized keys.

Example:

{'action' => 'my_action', 'controller' => 'my_controller'}

Source Code

# File action_controller/request.rb, line 308
def path_parameters
  @path_parameters ||= {}
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.