Sha256: ef882f55ae702746b9441fcc186437276fa4cca9fe97be7c1539d2a9873918fc

Contents?: true

Size: 234 Bytes

Versions: 15

Compression:

Stored size: 234 Bytes

Contents

require_relative 'listener'

class CASino::SessionDestroyerListener < 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

15 entries across 15 versions & 1 rubygems

Version Path
casino-3.0.4 app/listeners/casino/session_destroyer_listener.rb
casino-2.0.7 app/listeners/casino/session_destroyer_listener.rb
casino-3.0.3 app/listeners/casino/session_destroyer_listener.rb
casino-3.0.2 app/listeners/casino/session_destroyer_listener.rb
casino-3.0.1 app/listeners/casino/session_destroyer_listener.rb
casino-3.0.0 app/listeners/casino/session_destroyer_listener.rb
casino-3.0.0.pre.2 app/listeners/casino/session_destroyer_listener.rb
casino-3.0.0.pre.1 app/listeners/casino/session_destroyer_listener.rb
casino-2.0.6 app/listeners/casino/session_destroyer_listener.rb
casino-2.0.5 app/listeners/casino/session_destroyer_listener.rb
casino-2.0.4 app/listeners/casino/session_destroyer_listener.rb
casino-2.0.3 app/listeners/casino/session_destroyer_listener.rb
casino-2.0.2 app/listeners/casino/session_destroyer_listener.rb
casino-2.0.1 app/listeners/casino/session_destroyer_listener.rb
casino-2.0.0 app/listeners/casino/session_destroyer_listener.rb