aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorAnthony Dmitriyev <antstorm@gmail.com>2015-02-20 17:04:35 +0000
committerAnthony Dmitriyev <antstorm@gmail.com>2015-02-20 17:04:35 +0000
commit421865e4fd69841889ba1eb51af2e0bef98a8cb0 (patch)
treecd3a0335980db7164177b199f39168b6e607ff14 /actionview
parent063b058e28de226272bff64508f6a68d471fa398 (diff)
downloadrails-421865e4fd69841889ba1eb51af2e0bef98a8cb0.tar.gz
rails-421865e4fd69841889ba1eb51af2e0bef98a8cb0.tar.bz2
rails-421865e4fd69841889ba1eb51af2e0bef98a8cb0.zip
Fix cache_helper comment ERB
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/cache_helper.rb4
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 %>