diff options
author | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-05-04 21:53:10 +0200 |
---|---|---|
committer | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-05-04 21:53:10 +0200 |
commit | 8e69f1eb20a87e820244ecc880f85026b5e45d42 (patch) | |
tree | 0e4cc71f34e104e4aef95371a0ed36482edc7bbc | |
parent | 6372d23616b13c62c7a12efa89f958b334dd66ae (diff) | |
download | rails-8e69f1eb20a87e820244ecc880f85026b5e45d42.tar.gz rails-8e69f1eb20a87e820244ecc880f85026b5e45d42.tar.bz2 rails-8e69f1eb20a87e820244ecc880f85026b5e45d42.zip |
minor correction to the ActionDispatch::Http::URL subdomain docs
-rw-r--r-- | actionpack/lib/action_dispatch/http/url.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/url.rb b/actionpack/lib/action_dispatch/http/url.rb index d9c07d6ca3..8487b0fc8c 100644 --- a/actionpack/lib/action_dispatch/http/url.rb +++ b/actionpack/lib/action_dispatch/http/url.rb @@ -162,7 +162,7 @@ module ActionDispatch # Returns all the \subdomains as a string, so <tt>"dev.www"</tt> would be # returned for "dev.www.rubyonrails.org". You can specify a different <tt>tld_length</tt>, - # such as 2 to catch <tt>["www"]</tt> instead of <tt>"www.rubyonrails"</tt> + # such as 2 to catch <tt>"www"</tt> instead of <tt>"www.rubyonrails"</tt> # in "www.rubyonrails.co.uk". def subdomain(tld_length = @@tld_length) subdomains(tld_length).join(".") |