Sha256: d086b40781729bfee991b9fa0ee8a84038aed01a1477c4a398fe17e623f18976

Contents?: true

Size: 189 Bytes

Versions: 4

Compression:

Stored size: 189 Bytes

Contents

require 'casino/listener'

class CASino::Listener::OtherSessionsDestroyer < CASino::Listener
  def other_sessions_destroyed(url)
    @controller.redirect_to(url || sessions_path)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
casino-1.3.2 lib/casino/listener/other_sessions_destroyer.rb
casino-1.3.1 lib/casino/listener/other_sessions_destroyer.rb
casino-1.3.0 lib/casino/listener/other_sessions_destroyer.rb
casino-1.2.2 lib/casino/listener/other_sessions_destroyer.rb