aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Schierbeck <daniel.schierbeck@gmail.com>2008-11-05 23:04:40 +0100
committerDaniel Schierbeck <daniel.schierbeck@gmail.com>2008-11-05 23:04:40 +0100
commit0306fe53edf5c92055c77fe295cece18910fc82b (patch)
tree55fcbf07fa314e09fe24c0ca6f2f2a21a6db57b3
parent24ef23d0aaed69e3bb6a3ad8a5546e4633dad8e6 (diff)
downloadrails-0306fe53edf5c92055c77fe295cece18910fc82b.tar.gz
rails-0306fe53edf5c92055c77fe295cece18910fc82b.tar.bz2
rails-0306fe53edf5c92055c77fe295cece18910fc82b.zip
Improved the use of monospace fonts in the documentation of ActionController::Base.
-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 3a7f6c0f3c..389ade425b 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -1029,10 +1029,10 @@ module ActionController #:nodoc:
#
# * <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>String</tt> starting with <tt>protocol://</tt> (like <tt>http://</tt>) - Is passed straight through as the target for redirection.
+ # * <tt>String</tt> not containing a protocol - 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"])
+ # Short-hand for <tt>redirect_to(request.env["HTTP_REFERER"])</tt>
#
# Examples:
# redirect_to :action => "show", :id => 5