去除首页贴吧回复缓存

redis_cache
guange 10 years ago
parent ee35de5447
commit 7bbd85f8c2

@ -195,7 +195,6 @@
</h3>
<span style="margin-top: -20px;float: right; display: block;"><%= link_to "更多>>", forums_path %></span>
<% topics = find_new_forum_topics(10) %>
<%# cache topics.maximum(:created_at) do%>
<div class="d-p-projectlist-box">
<ul class="d-p-projectlist">
@ -233,8 +232,7 @@
</ul>
</div>
<%# end %>
</div>
<div class="clearfix"></div>
<%= render partial: 'link_to_another' %>
<%= render partial: 'link_to_another' %>

Loading…
Cancel
Save