aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/i18n.md
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2014-04-13 10:28:56 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2014-04-13 10:28:56 -0300
commit8b3ff37cb77e1f3976e6108b67414d0666f36574 (patch)
tree961ac393d67fdd7bacc675ff7ed9c41542416d67 /guides/source/i18n.md
parent090db0ff7d2611846aef0b38f741dda6204849ce (diff)
parent2ddbe87e7acc324ce7e0a4784c4d10b79cc49a40 (diff)
downloadrails-8b3ff37cb77e1f3976e6108b67414d0666f36574.tar.gz
rails-8b3ff37cb77e1f3976e6108b67414d0666f36574.tar.bz2
rails-8b3ff37cb77e1f3976e6108b67414d0666f36574.zip
Merge pull request #14718 from mcmorgan/update-documentation-to-match-generated-config
Update documentation to use Rails.application instead
Diffstat (limited to 'guides/source/i18n.md')
-rw-r--r--guides/source/i18n.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/i18n.md b/guides/source/i18n.md
index 6bd033f0de..466ffe7907 100644
--- a/guides/source/i18n.md
+++ b/guides/source/i18n.md
@@ -309,7 +309,7 @@ You most probably have something like this in one of your applications:
```ruby
# config/routes.rb
-Yourapp::Application.routes.draw do
+Rails.application.routes.draw do
root to: "home#index"
end
```