aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStan Lo <a22301613@yahoo.com.tw>2016-02-25 00:53:38 +0800
committerStan Lo <a22301613@yahoo.com.tw>2016-02-25 00:53:38 +0800
commit5a2d7a196729010504c3a09051a34fb1eb1d47d7 (patch)
tree4fd6ec29a58a4b03d0747033cecf4cf099bf99e0
parent569cb157e7d0427f4e8ba82d5d42f04ea8b75082 (diff)
downloadrails-5a2d7a196729010504c3a09051a34fb1eb1d47d7.tar.gz
rails-5a2d7a196729010504c3a09051a34fb1eb1d47d7.tar.bz2
rails-5a2d7a196729010504c3a09051a34fb1eb1d47d7.zip
Fix wording and wrong reference
-rw-r--r--guides/source/5_0_release_notes.md2
-rw-r--r--guides/source/action_view_overview.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/5_0_release_notes.md b/guides/source/5_0_release_notes.md
index 9655155dea..91bca16356 100644
--- a/guides/source/5_0_release_notes.md
+++ b/guides/source/5_0_release_notes.md
@@ -316,7 +316,7 @@ Please refer to the [Changelog][action-mailer] for detailed changes.
* Template lookup now respects default locale and I18n fallbacks.
([commit](https://github.com/rails/rails/commit/ecb1981b))
-* Template can use fragment cache like ActionView template.
+* Template can use fragment cache like Action View template.
([Pull Request](https://github.com/rails/rails/pull/22825))
* Added `_mailer` suffix to mailers created via generator, following the same
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md
index 205335864f..29e0943741 100644
--- a/guides/source/action_view_overview.md
+++ b/guides/source/action_view_overview.md
@@ -599,7 +599,7 @@ This would add something like "Process data files (0.34523)" to the log, which y
#### cache
-A method for caching fragments of a view rather than an entire action or page. This technique is useful for caching pieces like menus, lists of news topics, static HTML fragments, and so on. This method takes a block that contains the content you wish to cache. See `ActionDispatch::Caching::Fragments` for more information.
+A method for caching fragments of a view rather than an entire action or page. This technique is useful for caching pieces like menus, lists of news topics, static HTML fragments, and so on. This method takes a block that contains the content you wish to cache. See `AbstractController::Caching::Fragments` for more information.
```erb
<% cache do %>