Permalink
Browse files

Fix params hash example in AC::Base comment

  • Loading branch information...
1 parent 4930f9d commit 22b6e829dc9f07036399e52f0d352e6723c1113b @avakhov avakhov committed Oct 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/base.rb
@@ -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:
#

0 comments on commit 22b6e82

Please sign in to comment.