From dfb9b8fa58cf0ec444a25b3734dd62f34f927f68 Mon Sep 17 00:00:00 2001 From: christophe Date: Sat, 4 Jan 2014 08:53:27 +0100 Subject: [PATCH] Fix unused parameter --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 91c2aa2cbe9..6a02ed89791 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -167,7 +167,7 @@ class ApplicationController < ActionController::Base # Our custom cache method def discourse_expires_in(time_length) return unless can_cache_content? - Middleware::AnonymousCache.anon_cache(request.env, 1.minute) + Middleware::AnonymousCache.anon_cache(request.env, time_length) end def fetch_user_from_params