mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
Oops, that should be 1.minute
This commit is contained in:
@ -161,7 +161,7 @@ class ApplicationController < ActionController::Base
|
|||||||
yield if stale?(*args)
|
yield if stale?(*args)
|
||||||
|
|
||||||
# Add a one minute expiry
|
# Add a one minute expiry
|
||||||
expires_in time_length, public: true
|
expires_in 1.minute, public: true
|
||||||
else
|
else
|
||||||
yield
|
yield
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user