Permalink
Browse files

copy-edits RDoc of 2fe43b6

  • Loading branch information...
1 parent 85d6431 commit 0250c3eca40f5f2b3da698b11ff4f01f58db5a69 @fxn fxn committed Nov 23, 2010
Showing with 3 additions and 2 deletions.
  1. +3 −2 actionpack/lib/action_dispatch/routing/url_for.rb
@@ -119,8 +119,9 @@ def url_options
# to split the domain from the host.
# * <tt>:domain</tt> - Specifies the domain of the link, using the +tld_length+
# to split the subdomain from the host.
- # * <tt>:tld_length</tt> - Optionally specify the tld length (only used if :subdomain
- # or :domain are supplied).
+ # * <tt>:tld_length</tt> - Number of labels the TLD id composed of, only used if
+ # <tt>:subdomain</tt> or <tt>:domain</tt> are supplied. Defaults to
+ # <tt>ActionDispatch::Http::URL.tld_length</tt>, which in turn defaults to 1.
# * <tt>:port</tt> - Optionally specify the port to connect to.
# * <tt>:anchor</tt> - An anchor name to be appended to the path.
# * <tt>:trailing_slash</tt> - If true, adds a trailing slash, as in "/archive/2009/"

0 comments on commit 0250c3e

Please sign in to comment.