1
0
Fork 0
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:
Dino Maric 2021-12-16 10:49:51 +01:00
parent 87d65e9b12
commit f8ac66ae6d

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