From 867138aa9909e8371340e38db12faf59a43ae31e Mon Sep 17 00:00:00 2001 From: Mihail Evsyukov Date: Thu, 4 Jul 2013 23:41:53 +0300 Subject: Specify request method in guides [ci skip] --- guides/source/i18n.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/i18n.md') 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.) -- cgit v1.2.3