1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Improve readability of CacheHelper section

[ci skip]
This commit is contained in:
Dave Powers 2015-12-23 16:42:54 -05:00
parent 3c8b569e15
commit 34f5704b85

View file

@ -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 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 `ActionController::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 `ActionController::Caching::Fragments` for more information.
```erb
<% cache do %>