还是缓存问题
This commit is contained in:
parent
adb21cc617
commit
e786873061
|
@ -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'>
|
||||
|
@ -153,10 +152,9 @@
|
|||
</div>
|
||||
</li>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
<%= render partial: 'link_to_another' %>
|
||||
<%= render partial: 'link_to_another' %>
|
||||
|
|
Loading…
Reference in New Issue