1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update request.path_parameters docs: returned hash keys are symbols

Closes #43808
This commit is contained in:
Guillermo Iguaran 2021-12-15 23:36:10 -08:00
parent 22b3d785e9
commit 87d65e9b12

View file

@ -76,7 +76,7 @@ module ActionDispatch
end
# Returns a hash with the \parameters used to form the \path of the request.
# Returned hash keys are strings:
# Returned hash keys are symbols:
#
# {'action' => 'my_action', 'controller' => 'my_controller'}
def path_parameters