还是缓存问题

This commit is contained in:
guange 2015-06-01 13:58:37 +08:00
parent adb21cc617
commit e786873061
1 changed files with 1 additions and 3 deletions

View File

@ -123,7 +123,6 @@
</div>
<div class="welcome-box-list-new memo_activity">
<% topics = find_new_forum_topics(12) %>
<% cache topics.maximum(:created_at) do%>
<% topics.includes(:forum, :last_reply, :author).each do |topic|%>
<li class="message-brief-intro" style="line-height:1.4em;">
<div class='memo_title text_nowrap'>
@ -152,7 +151,6 @@
</span>
</div>
</li>
<% end %>
<% end %>
</div>
</ul>