Sha256: b91b97d0682fbf7bedf0b6cdf6e1444f0a426404d5d8957a7792142ef7bfa133

Contents?: true

Size: 234 Bytes

Versions: 12

Compression:

Stored size: 234 Bytes

Contents

require 'casino/listener'

class CASino::Listener::SessionDestroyer < CASino::Listener
  def ticket_deleted
    @controller.redirect_to(sessions_path)
  end

  def ticket_not_found
    @controller.redirect_to(sessions_path)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
casino-1.3.2 lib/casino/listener/session_destroyer.rb
casino-1.3.1 lib/casino/listener/session_destroyer.rb
casino-1.3.0 lib/casino/listener/session_destroyer.rb
casino-1.2.2 lib/casino/listener/session_destroyer.rb
casino-1.2.1 lib/casino/listener/session_destroyer.rb
casino-1.2.0 lib/casino/listener/session_destroyer.rb
casino-1.1.0 lib/casino/listener/session_destroyer.rb
casino-1.0.0 lib/casino/listener/session_destroyer.rb
casino-0.0.4 lib/casino/listener/session_destroyer.rb
casino-0.0.3 lib/casino/listener/session_destroyer.rb
casino-0.0.2 lib/casino/listener/session_destroyer.rb
casino-0.0.1 lib/casino/listener/session_destroyer.rb