aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/request/_sidebar.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/request/_sidebar.rhtml')
-rw-r--r--app/views/request/_sidebar.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/request/_sidebar.rhtml b/app/views/request/_sidebar.rhtml
index 2a9b5a73f..758387b09 100644
--- a/app/views/request/_sidebar.rhtml
+++ b/app/views/request/_sidebar.rhtml
@@ -19,7 +19,7 @@
<%= render :partial => 'request/next_actions' %>
- <% view_cache :ttl => 1.day, :tag => ['similar', @info_request.id, I18n.locale] do %>
+ <% view_cache :ttl => 1.day.to_i, :tag => ['similar', @info_request.id, I18n.locale] do %>
<% if !@xapian_similar.nil? && @xapian_similar.results.size > 0 %>
<h2><%= _('Similar requests')%></h2>
<% for result in @xapian_similar.results %>