aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/actioncontroller/params.txt
diff options
context:
space:
mode:
authorTore Darell <toredarell@gmail.com>2008-09-27 00:24:40 +0200
committerTore Darell <toredarell@gmail.com>2008-09-27 00:24:40 +0200
commit2ac20239c7f75419c39c2f40423f96cf9d9013b5 (patch)
treefc469861db91aa8e2fc258c19b4febca962079ae /railties/doc/guides/actioncontroller/params.txt
parent118b0b607f98a6ac5e69355fdd65142c31ef6ec1 (diff)
downloadrails-2ac20239c7f75419c39c2f40423f96cf9d9013b5.tar.gz
rails-2ac20239c7f75419c39c2f40423f96cf9d9013b5.tar.bz2
rails-2ac20239c7f75419c39c2f40423f96cf9d9013b5.zip
Change code -> source in code blocks
Diffstat (limited to 'railties/doc/guides/actioncontroller/params.txt')
-rw-r--r--railties/doc/guides/actioncontroller/params.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/actioncontroller/params.txt b/railties/doc/guides/actioncontroller/params.txt
index c7a61d3cc0..67f97b6135 100644
--- a/railties/doc/guides/actioncontroller/params.txt
+++ b/railties/doc/guides/actioncontroller/params.txt
@@ -2,7 +2,7 @@
You will probably want to access data sent in by the user or other parameters in your controller actions. There are two kinds of parameters possible in a web application. The first are parameters that are sent as part of the URL, query string parameters. The query string is everything after "?" in the URL. The second type of parameter is usually referred to as POST data. This information usually comes from a HTML form which has been filled in by the user. It's called POST data because it can only be sent as part of an HTTP POST request. Rails does not make any distinction between query string parameters and POST parameters, and both are available in the `params` hash in your controller:
-[code, ruby]
+[source, ruby]
-------------------------------------
class ClientsController < ActionController::Base