aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorNicolas Maloeuvre <your_email@example.com>2015-02-18 05:01:15 +0100
committerNicolas Maloeuvre <your_email@example.com>2015-02-18 05:01:15 +0100
commitb4c3a7700becc8842016b8f5de732bbcc6eafd51 (patch)
treed6bfca1517f2658455195fe148c171baab3131ce /guides
parentaf59f6d5309782e94364430bd49059b93f519381 (diff)
downloadrails-b4c3a7700becc8842016b8f5de732bbcc6eafd51.tar.gz
rails-b4c3a7700becc8842016b8f5de732bbcc6eafd51.tar.bz2
rails-b4c3a7700becc8842016b8f5de732bbcc6eafd51.zip
fix type in guide - missing word
Diffstat (limited to 'guides')
-rw-r--r--guides/source/action_view_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md
index d3a2e15c61..e16fe4dbeb 100644
--- a/guides/source/action_view_overview.md
+++ b/guides/source/action_view_overview.md
@@ -1617,7 +1617,7 @@ details can be found in the [Rails Security Guide](security.html#cross-site-requ
Localized Views
---------------
-Action View has the ability render different templates depending on the current locale.
+Action View has the ability to render different templates depending on the current locale.
For example, suppose you have a `ArticlesController` with a show action. By default, calling this action will render `app/views/articles/show.html.erb`. But if you set `I18n.locale = :de`, then `app/views/articles/show.de.html.erb` will be rendered instead. If the localized template isn't present, the undecorated version will be used. This means you're not required to provide localized views for all cases, but they will be preferred and used if available.