We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a47c821 + f8ac66a commit a56f5edCopy full SHA for a56f5ed
actionpack/lib/action_dispatch/http/parameters.rb
@@ -78,7 +78,7 @@ def path_parameters=(parameters) # :nodoc:
78
# Returns a hash with the \parameters used to form the \path of the request.
79
# Returned hash keys are symbols:
80
#
81
- # {'action' => 'my_action', 'controller' => 'my_controller'}
+ # { action: "my_action", controller: "my_controller" }
82
def path_parameters
83
get_header(PARAMETERS_KEY) || set_header(PARAMETERS_KEY, {})
84
end
0 commit comments