diff options
author | Hendy Tanata <htanata@gmail.com> | 2011-10-06 14:03:46 +0800 |
---|---|---|
committer | Hendy Tanata <htanata@gmail.com> | 2011-10-06 14:03:46 +0800 |
commit | 79a719a6d27ad8f7782a8586392fc9716927c850 (patch) | |
tree | d202c45f6e8587b71dcd6280e60196eb6fbc9d83 /railties | |
parent | 4f5878a4a98cc1e8766a0204d94dd96f384fdae9 (diff) | |
download | rails-79a719a6d27ad8f7782a8586392fc9716927c850.tar.gz rails-79a719a6d27ad8f7782a8586392fc9716927c850.tar.bz2 rails-79a719a6d27ad8f7782a8586392fc9716927c850.zip |
Grammar fixes for the routing guide.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/routing.textile | 2 |
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. |