From 79a719a6d27ad8f7782a8586392fc9716927c850 Mon Sep 17 00:00:00 2001 From: Hendy Tanata Date: Thu, 6 Oct 2011 14:03:46 +0800 Subject: [PATCH] Grammar fixes for the routing guide. --- railties/guides/source/routing.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" } -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. -- GitLab