app/controllers/users/emails_controller.rb in shieldify-0.2.3.pre.alpha vs app/controllers/users/emails_controller.rb in shieldify-0.2.4.pre.alpha
- old
+ new
@@ -14,9 +14,9 @@
end
private
def set_cookie(name, value)
- response.set_cookie(name, { value: value, expires: 1.hour.from_now })
+ response.set_cookie(name, { value: value, expires: 1.hour.from_now, path: '/' })
end
end
end