instance method
path_parameters
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
path_parameters()
Returns a hash with the \parameters used to form the \path of the request. Returned hash keys are strings:
{'action' => 'my_action', 'controller' => 'my_controller'}
See symbolized_path_parameters for symbolized keys.
Source
# File actionpack/lib/action_controller/request.rb, line 405
def path_parameters
@env["action_controller.request.path_parameters"] ||= {}
end
Defined in actionpack/lib/action_controller/request.rb line 405
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Request