aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/routing.textile
diff options
context:
space:
mode:
authorManuel Menezes de Sequeira <MMSequeira@gmail.com>2011-10-06 21:31:26 +0100
committerManuel Menezes de Sequeira <MMSequeira@gmail.com>2011-10-06 21:31:26 +0100
commita17e5e24624d27467e3d7a52ff83c00140890557 (patch)
tree96ea19c3b0b23f0782910384c476d2662471ed73 /railties/guides/source/routing.textile
parent29bf193cadae8c0b01f565caed75eb285ba8c958 (diff)
parent545ddbdbc5b61716fb884488206567a130902f0a (diff)
downloadrails-a17e5e24624d27467e3d7a52ff83c00140890557.tar.gz
rails-a17e5e24624d27467e3d7a52ff83c00140890557.tar.bz2
rails-a17e5e24624d27467e3d7a52ff83c00140890557.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/routing.textile')
-rw-r--r--railties/guides/source/routing.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/routing.textile b/railties/guides/source/routing.textile
index bf18402b60..f281009fee 100644
--- a/railties/guides/source/routing.textile
+++ b/railties/guides/source/routing.textile
@@ -596,7 +596,7 @@ match "/stories/:name" => redirect {|params| "/posts/#{params[:name].pluralize}"
match "/stories" => redirect {|p, req| "/posts/#{req.subdomain}" }
</ruby>
-Please note that this redirection is a 301 "Moved Permanently" redirect. Keep in mind that some web browser or proxy server will cache this type of redirect, make the old page inaccessible.
+Please note that this redirection is a 301 "Moved Permanently" redirect. Keep in mind that some web browsers or proxy servers will cache this type of redirect, making the old page inaccessible.
In all of these cases, if you don't provide the leading host (+http://www.example.com+), Rails will take those details from the current request.