aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-06-11 13:23:15 -0400
committerZachary Scott <e@zzak.io>2015-06-11 13:23:15 -0400
commited7d787e120347ebc97647014a5e1fef7a34c19c (patch)
tree29a474b4a77fc5450936bd02ade54e9700776dd8
parent23613a4cbf5f4761cab4097eda0b205d73841d86 (diff)
parentdc11b274a614cb30ebd454f48020ec3267a4a528 (diff)
downloadrails-ed7d787e120347ebc97647014a5e1fef7a34c19c.tar.gz
rails-ed7d787e120347ebc97647014a5e1fef7a34c19c.tar.bz2
rails-ed7d787e120347ebc97647014a5e1fef7a34c19c.zip
Merge pull request #20519 from colby-swandale/doc-update
better clarity of params source in ActionController::Base documentation
-rw-r--r--actionpack/lib/action_controller/base.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index bfae372f53..d5386fdcd1 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -50,9 +50,9 @@ module ActionController
#
# == Parameters
#
- # 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.
+ # All request parameters, whether they come from a query sring in the URL or form data submitted through a POST request 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.
#
# It's also possible to construct multi-dimensional parameter hashes by specifying keys using brackets, such as:
#