Skip to content
Browse files

Improved the use of monospace fonts in the documentation of ActionCon…

…troller::Base.
  • Loading branch information...
1 parent 24ef23d commit 0306fe53edf5c92055c77fe295cece18910fc82b @dasch dasch committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/lib/action_controller/base.rb
View
6 actionpack/lib/action_controller/base.rb
@@ -1029,10 +1029,10 @@ def default_url_options(options = nil)
#
# * <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

0 comments on commit 0306fe5

Please sign in to comment.
Something went wrong with that request. Please try again.