aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-02-20 15:11:40 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-02-20 15:11:40 -0200
commit85388885d7fc11e2cb2d33e46ac606e4f12ea853 (patch)
treeb1eb8fbb212dcaa33f095b25f8d36307b2b94850 /actionview
parent0f2261f2d10afade350378779104cdf0fc09605c (diff)
parent421865e4fd69841889ba1eb51af2e0bef98a8cb0 (diff)
downloadrails-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.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 %>