Fix params hash example in AC::Base comment
This commit is contained in:
parent
4930f9d2a7
commit
22b6e829dc
|
@ -50,7 +50,7 @@ module ActionController
|
|||
#
|
||||
# All request parameters, whether they come from a GET or POST request, or from the URL, are available through the params method
|
||||
# which returns a hash. For example, an action that was performed through <tt>/posts?category=All&limit=5</tt> will include
|
||||
# <tt>{ "category" => "All", "limit" => 5 }</tt> in params.
|
||||
# <tt>{ "category" => "All", "limit" => "5" }</tt> in params.
|
||||
#
|
||||
# It's also possible to construct multi-dimensional parameter hashes by specifying keys using brackets, such as:
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue