Sha256: 70dd167e505119378ce91aadb5a16cc5e716154e88782f5ff026a30fb7c863db

Contents?: true

Size: 189 Bytes

Versions: 15

Compression:

Stored size: 189 Bytes

Contents

require_relative 'listener'

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

Version data entries

15 entries across 15 versions & 1 rubygems

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