aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Vakhov <vakhov@gmail.com>2011-10-08 10:12:58 +0400
committerAlexey Vakhov <vakhov@gmail.com>2011-10-08 10:12:58 +0400
commit22b6e829dc9f07036399e52f0d352e6723c1113b (patch)
treee1124e4a31dc771d3fa3e4bbde779b8df7606af8
parent4930f9d2a76c0b4a8f60efa72ade0b9cce3520b6 (diff)
downloadrails-22b6e829dc9f07036399e52f0d352e6723c1113b.tar.gz
rails-22b6e829dc9f07036399e52f0d352e6723c1113b.tar.bz2
rails-22b6e829dc9f07036399e52f0d352e6723c1113b.zip
Fix params hash example in AC::Base comment
-rw-r--r--actionpack/lib/action_controller/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index da93c988c4..98bfe72fef 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/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:
#