aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/i18n.textile
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-11-18 23:11:46 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-11-18 23:11:46 +0530
commit48b580a03b84a277123b656efee91613f7503479 (patch)
tree3ae489a77071743aa0e7f447f79263b1a7e5a3ab /railties/guides/source/i18n.textile
parent2debbe1581976d4694cb35ea7942c12f9224fb9f (diff)
parent9d035292ba39fcb046656ceb28e7a2f10cdb7f9c (diff)
downloadrails-48b580a03b84a277123b656efee91613f7503479.tar.gz
rails-48b580a03b84a277123b656efee91613f7503479.tar.bz2
rails-48b580a03b84a277123b656efee91613f7503479.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/i18n.textile')
-rw-r--r--railties/guides/source/i18n.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/i18n.textile b/railties/guides/source/i18n.textile
index 2d4cc13571..e9477e84cf 100644
--- a/railties/guides/source/i18n.textile
+++ b/railties/guides/source/i18n.textile
@@ -231,7 +231,7 @@ end
Now, when you call the +books_path+ method you should get +"/en/books"+ (for the default locale). An URL like +http://localhost:3001/nl/books+ should load the Netherlands locale, then, and following calls to +books_path+ should return +"/nl/books"+ (because the locale changed).
-If you don't want to force the use of a locale in your routes you can use an optional path scope (donated by the use brackets) like so:
+If you don't want to force the use of a locale in your routes you can use an optional path scope (denoted by the parentheses) like so:
<ruby>
# config/routes.rb