Sha256: 22c76a47d4b2fdb186a6a5c3157496c3c34a57fb3ba7d14d1cb30cae4f544c9a
Contents?: true
Size: 303 Bytes
Versions: 3
Compression:
Stored size: 303 Bytes
Contents
require 'casino/listener' class CASino::Listener::Logout < CASino::Listener def user_logged_out(url, redirect_immediately = false) if redirect_immediately @controller.redirect_to url, status: :see_other else assign(:url, url) end @controller.cookies.delete :tgt end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
casino-1.3.2 | lib/casino/listener/logout.rb |
casino-1.3.1 | lib/casino/listener/logout.rb |
casino-1.3.0 | lib/casino/listener/logout.rb |