From f8ac66ae6d2f03f297177bcabfd1bd314db49103 Mon Sep 17 00:00:00 2001 From: Dino Maric Date: Thu, 16 Dec 2021 10:49:51 +0100 Subject: [PATCH] Docs: Match example with the sentance. [ci-skip] Match the code example with the description. Co-authored-by: Louis-Michel Couture --- actionpack/lib/action_dispatch/http/parameters.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_dispatch/http/parameters.rb b/actionpack/lib/action_dispatch/http/parameters.rb index 1d7ce90a5d..eb3c381064 100644 --- a/actionpack/lib/action_dispatch/http/parameters.rb +++ b/actionpack/lib/action_dispatch/http/parameters.rb @@ -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