summaryrefslogtreecommitdiff
path: root/app/controllers/user_callouts_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/user_callouts_controller.rb')
-rw-r--r--app/controllers/user_callouts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/user_callouts_controller.rb b/app/controllers/user_callouts_controller.rb
index 4ee75218db1..06f422b9d90 100644
--- a/app/controllers/user_callouts_controller.rb
+++ b/app/controllers/user_callouts_controller.rb
@@ -5,7 +5,7 @@ class UserCalloutsController < ApplicationController
callout = ensure_callout
if callout.persisted?
- callout.update(dismissed_at: Time.now)
+ callout.update(dismissed_at: Time.current)
respond_to do |format|
format.json { head :ok }
end