Class: CASino::SessionDestroyerListener
- Inherits:
-
Listener
- Object
- Listener
- CASino::SessionDestroyerListener
show all
- Defined in:
- app/listeners/casino/session_destroyer_listener.rb
Instance Method Summary
collapse
Methods inherited from Listener
#initialize
Instance Method Details
#ticket_deleted ⇒ Object
4
5
6
|
# File 'app/listeners/casino/session_destroyer_listener.rb', line 4
def ticket_deleted
@controller.redirect_to(sessions_path)
end
|
#ticket_not_found ⇒ Object
8
9
10
|
# File 'app/listeners/casino/session_destroyer_listener.rb', line 8
def ticket_not_found
@controller.redirect_to(sessions_path)
end
|