instance method
path_parameters
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
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 420
def path_parameters
@path_parameters ||= {}
end
Defined in actionpack/lib/action_controller/request.rb line 420
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::AbstractRequest