Class: CASino::OtherSessionsDestroyerListener
- Defined in:
- app/listeners/casino/other_sessions_destroyer_listener.rb
Instance Method Summary collapse
Methods inherited from Listener
Constructor Details
This class inherits a constructor from CASino::Listener
Instance Method Details
#other_sessions_destroyed(url) ⇒ Object
4 5 6 |
# File 'app/listeners/casino/other_sessions_destroyer_listener.rb', line 4 def other_sessions_destroyed(url) @controller.redirect_to(url || sessions_path) end |