diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-07-04 14:03:50 -0700 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-07-04 14:03:50 -0700 |
commit | f3f46a6f4ac2a1fd2dd6fa9af245641f32c9bc59 (patch) | |
tree | 7d480cbff24f827f12c8e55e6f6e8b3d649386a0 /guides/source/i18n.md | |
parent | 3caf9a74eb49e6946aee9bcef6dd5d67bb6dab0e (diff) | |
parent | 867138aa9909e8371340e38db12faf59a43ae31e (diff) | |
download | rails-f3f46a6f4ac2a1fd2dd6fa9af245641f32c9bc59.tar.gz rails-f3f46a6f4ac2a1fd2dd6fa9af245641f32c9bc59.tar.bz2 rails-f3f46a6f4ac2a1fd2dd6fa9af245641f32c9bc59.zip |
Merge pull request #11303 from evsyukovmv/specify-request-method-in-guides
Specify request method in guides [ci skip]
Diffstat (limited to 'guides/source/i18n.md')
-rw-r--r-- | guides/source/i18n.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/i18n.md b/guides/source/i18n.md index 062da3877b..a5bf8b333a 100644 --- a/guides/source/i18n.md +++ b/guides/source/i18n.md @@ -253,7 +253,7 @@ You would probably need to map URLs like these: ```ruby # config/routes.rb -match '/:locale' => 'dashboard#index' +get '/:locale' => 'dashboard#index' ``` Do take special care about the **order of your routes**, so this route declaration does not "eat" other ones. (You may want to add it directly before the `root :to` declaration.) |