mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
Oops, that should be 1.minute
This commit is contained in:
parent
8d568b05c4
commit
6043a370ad
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class ApplicationController < ActionController::Base
|
|||
yield if stale?(*args)
|
||||
|
||||
# Add a one minute expiry
|
||||
expires_in time_length, public: true
|
||||
expires_in 1.minute, public: true
|
||||
else
|
||||
yield
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue