require 'casino/listener' class CASino::Listener::SessionOverview < CASino::Listener def user_not_logged_in @controller.redirect_to login_path end def ticket_granting_tickets_found(ticket_granting_tickets) assign(:ticket_granting_tickets, ticket_granting_tickets) end end