Skip to content
Browse files

Fix params hash example in AC::Base comment

  • Loading branch information...
1 parent 09bb9de commit 4805a657c19b01f52d2f58b0ef6b7ac8ead5747a @avakhov avakhov committed with vijaydev Oct 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/base.rb
View
2 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 4805a65

Please sign in to comment.
Something went wrong with that request. Please try again.