diff options
author | Colby Swandale <colby@taplaboratories.com.au> | 2015-06-11 21:24:03 +1000 |
---|---|---|
committer | Colby Swandale <colby@taplaboratories.com.au> | 2015-06-11 21:29:19 +1000 |
commit | dc11b274a614cb30ebd454f48020ec3267a4a528 (patch) | |
tree | df69f6be213c1976ff427bb3cb7156e94d028fec /actionpack/lib/action_controller | |
parent | 96bb004fc6e67cdf1b873f11ad5f8efd06949797 (diff) | |
download | rails-dc11b274a614cb30ebd454f48020ec3267a4a528.tar.gz rails-dc11b274a614cb30ebd454f48020ec3267a4a528.tar.bz2 rails-dc11b274a614cb30ebd454f48020ec3267a4a528.zip |
better clarity of params source in ActionController::Base documentation [ci skip]
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/base.rb | 6 |
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: # |