aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base.rb
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2007-11-06 23:33:40 +0000
committerMarcel Molina <marcel@vernix.org>2007-11-06 23:33:40 +0000
commit94502623fb8354ba0c88b9d1bc94bf940e0d5018 (patch)
tree3feef6b8342bac8a8f8ef3db5f051e536bce8a4f /actionpack/lib/action_controller/base.rb
parent19d4c212cd35be37d67eb20bb4152356df96681b (diff)
downloadrails-94502623fb8354ba0c88b9d1bc94bf940e0d5018.tar.gz
rails-94502623fb8354ba0c88b9d1bc94bf940e0d5018.tar.bz2
rails-94502623fb8354ba0c88b9d1bc94bf940e0d5018.zip
Standardize on using hyphens rather than colons to separate option names from their explanation in documentation. Replace + with tt tags. Closes #8732. [ryanb]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/base.rb')
-rwxr-xr-xactionpack/lib/action_controller/base.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index 662aa09bb6..07fed278e2 100755
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -982,11 +982,11 @@ module ActionController #:nodoc:
# Redirects the browser to the target specified in +options+. This parameter can take one of three forms:
#
- # * <tt>Hash</tt>: The URL will be generated by calling url_for with the +options+.
- # * <tt>Record</tt>: The URL will be generated by calling url_for with the +options+, which will reference a named URL for that record.
- # * <tt>String starting with protocol:// (like http://)</tt>: Is passed straight through as the target for redirection.
- # * <tt>String not containing a protocol</tt>: The current protocol and host is prepended to the string.
- # * <tt>:back</tt>: Back to the page that issued the request. Useful for forms that are triggered from multiple places.
+ # * <tt>Hash</tt> - The URL will be generated by calling url_for with the +options+.
+ # * <tt>Record</tt> - The URL will be generated by calling url_for with the +options+, which will reference a named URL for that record.
+ # * <tt>String starting with protocol:// (like http://)</tt> - Is passed straight through as the target for redirection.
+ # * <tt>String not containing a protocol</tt> - The current protocol and host is prepended to the string.
+ # * <tt>:back</tt> - Back to the page that issued the request. Useful for forms that are triggered from multiple places.
# Short-hand for redirect_to(request.env["HTTP_REFERER"])
#
# Examples: