提交 421865e4 编写于 作者: A Anthony Dmitriyev

Fix cache_helper comment ERB

上级 063b058e
......@@ -122,7 +122,7 @@ def cache(name = {}, options = nil, &block)
# 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 @@ def cache_if(condition, name = {}, options = nil, &block)
# 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 %>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册