mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-01 09:39:51 -04:00
Fix unused parameter
This commit is contained in:
parent
17f23adb78
commit
dfb9b8fa58
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue