aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/actioncontroller/request_response_objects.txt
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2008-10-09 00:35:03 +1030
committerRyan Bigg <radarlistener@gmail.com>2008-10-09 00:35:03 +1030
commit3979d267522f9aaef92b5f21a65abab5046cefaa (patch)
treeed383b7f9211b66a976bd57583757cfc54ce1753 /railties/doc/guides/actioncontroller/request_response_objects.txt
parent224060aa8287fcdd8aa5ea11320fc5f373f01459 (diff)
parentb4da5f67708b2699a21f8bb39f4d10865c1814d4 (diff)
downloadrails-3979d267522f9aaef92b5f21a65abab5046cefaa.tar.gz
rails-3979d267522f9aaef92b5f21a65abab5046cefaa.tar.bz2
rails-3979d267522f9aaef92b5f21a65abab5046cefaa.zip
Merge branch 'master' of git@github.com:lifo/docrails
Diffstat (limited to 'railties/doc/guides/actioncontroller/request_response_objects.txt')
-rw-r--r--railties/doc/guides/actioncontroller/request_response_objects.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/doc/guides/actioncontroller/request_response_objects.txt b/railties/doc/guides/actioncontroller/request_response_objects.txt
index d335523a25..493bd4cb43 100644
--- a/railties/doc/guides/actioncontroller/request_response_objects.txt
+++ b/railties/doc/guides/actioncontroller/request_response_objects.txt
@@ -1,10 +1,10 @@
== The request and response objects ==
-In every controller there are two accessor methods pointing to the request and the response objects associated with the request cycle that is currently in execution. The `request` method contains an instance of "AbstractRequest":http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html and the `response` method contains the "response object":http://github.com/rails/rails/tree/master/actionpack/lib/action_controller/response.rb representing what is going to be sent back to the client.
+In every controller there are two accessor methods pointing to the request and the response objects associated with the request cycle that is currently in execution. The `request` method contains an instance of link:http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html[AbstractRequest] and the `response` method contains the link:http://github.com/rails/rails/tree/master/actionpack/lib/action_controller/response.rb[response object] representing what is going to be sent back to the client.
=== The request ===
-The request object contains a lot of useful information about the request coming in from the client. To get a full list of the available methods, refer to the "Rails API documentation":http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html
+The request object contains a lot of useful information about the request coming in from the client. To get a full list of the available methods, refer to the link:http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html[API documentation].
* host - The hostname used for this request.
* domain - The hostname without the first part (usually "www").