diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-02-20 15:11:40 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-02-20 15:11:40 -0200 |
commit | 85388885d7fc11e2cb2d33e46ac606e4f12ea853 (patch) | |
tree | b1eb8fbb212dcaa33f095b25f8d36307b2b94850 /actionview | |
parent | 0f2261f2d10afade350378779104cdf0fc09605c (diff) | |
parent | 421865e4fd69841889ba1eb51af2e0bef98a8cb0 (diff) | |
download | rails-85388885d7fc11e2cb2d33e46ac606e4f12ea853.tar.gz rails-85388885d7fc11e2cb2d33e46ac606e4f12ea853.tar.bz2 rails-85388885d7fc11e2cb2d33e46ac606e4f12ea853.zip |
Merge pull request #19015 from antstorm/fix-cache-helper-erb-block-in-comment
Fix cache_helper comment ERB typo
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/helpers/cache_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/cache_helper.rb b/actionview/lib/action_view/helpers/cache_helper.rb index 4db8930a26..9dadfb5ce1 100644 --- a/actionview/lib/action_view/helpers/cache_helper.rb +++ b/actionview/lib/action_view/helpers/cache_helper.rb @@ -122,7 +122,7 @@ module ActionView # Cache fragments of a view if +condition+ is true # - # <%= cache_if admin?, project do %> + # <% cache_if admin?, project do %> # <b>All the topics on this project</b> # <%= render project.topics %> # <% end %> @@ -138,7 +138,7 @@ module ActionView # Cache fragments of a view unless +condition+ is true # - # <%= cache_unless admin?, project do %> + # <% cache_unless admin?, project do %> # <b>All the topics on this project</b> # <%= render project.topics %> # <% end %> |