added cache for screenshots

This commit is contained in:
Saurabh Bhatia 2014-03-14 15:34:31 +08:00
parent f5360b5e9e
commit 4c6eb41a78
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@
</div>
</div><!-- 基本資料 end -->
<!-- 截圖 -->
<%cache [ 'screenshots', expires_in: 30.minutes ] do%>
<div class="details-section screenshots">
<div class="screenshots-groups">
<ul class="screenshots-list">
@ -44,6 +45,7 @@
</ul>
</div>
</div><!-- 截圖 end -->
<% end %>
<!-- 說明 -->
<div class="details-section description">
<%= headingTitle("Description", nil) %>