aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-02-17 20:09:50 -0800
committerZachary Scott <e@zzak.io>2015-02-17 20:09:50 -0800
commit1e27e7d72d839b1109f36d381f746fa969c3d946 (patch)
treed6bfca1517f2658455195fe148c171baab3131ce
parentaf59f6d5309782e94364430bd49059b93f519381 (diff)
parentb4c3a7700becc8842016b8f5de732bbcc6eafd51 (diff)
downloadrails-1e27e7d72d839b1109f36d381f746fa969c3d946.tar.gz
rails-1e27e7d72d839b1109f36d381f746fa969c3d946.tar.bz2
rails-1e27e7d72d839b1109f36d381f746fa969c3d946.zip
Merge pull request #18980 from nicolasmlv/fix-typo-in-guide
fix typo in guide - missing word
-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.