mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Docs: Match example with the sentance. [ci-skip]
Match the code example with the description. Co-authored-by: Louis-Michel Couture <louim_1@hotmail.com>
This commit is contained in:
parent
87d65e9b12
commit
f8ac66ae6d
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ module ActionDispatch
|
|||
# Returns a hash with the \parameters used to form the \path of the request.
|
||||
# Returned hash keys are symbols:
|
||||
#
|
||||
# {'action' => 'my_action', 'controller' => 'my_controller'}
|
||||
# { action: "my_action", controller: "my_controller" }
|
||||
def path_parameters
|
||||
get_header(PARAMETERS_KEY) || set_header(PARAMETERS_KEY, {})
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue