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:
Dino Maric 2021-12-16 10:49:51 +01:00
parent 87d65e9b12
commit f8ac66ae6d
1 changed files with 1 additions and 1 deletions

View File

@ -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