Skip to content

Commit a56f5ed

Browse files
Merge pull request rails#43897 from dixpac/dix/match_example_with_docs
Docs: Match example with the sentance. [ci-skip]
2 parents a47c821 + f8ac66a commit a56f5ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionpack/lib/action_dispatch/http/parameters.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def path_parameters=(parameters) # :nodoc:
7878
# Returns a hash with the \parameters used to form the \path of the request.
7979
# Returned hash keys are symbols:
8080
#
81-
# {'action' => 'my_action', 'controller' => 'my_controller'}
81+
# { action: "my_action", controller: "my_controller" }
8282
def path_parameters
8383
get_header(PARAMETERS_KEY) || set_header(PARAMETERS_KEY, {})
8484
end

0 commit comments

Comments
 (0)