diff options
author | Anthony Dmitriyev <antstorm@gmail.com> | 2015-02-20 17:04:35 +0000 |
---|---|---|
committer | Anthony Dmitriyev <antstorm@gmail.com> | 2015-02-20 17:04:35 +0000 |
commit | 421865e4fd69841889ba1eb51af2e0bef98a8cb0 (patch) | |
tree | cd3a0335980db7164177b199f39168b6e607ff14 /actionview/lib | |
parent | 063b058e28de226272bff64508f6a68d471fa398 (diff) | |
download | rails-421865e4fd69841889ba1eb51af2e0bef98a8cb0.tar.gz rails-421865e4fd69841889ba1eb51af2e0bef98a8cb0.tar.bz2 rails-421865e4fd69841889ba1eb51af2e0bef98a8cb0.zip |
Fix cache_helper comment ERB
Diffstat (limited to 'actionview/lib')
-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 %> |