Class: Booth::Userland::Logins::Transitions::New::AlreadyLoggedIn
- Inherits:
-
Object
- Object
- Booth::Userland::Logins::Transitions::New::AlreadyLoggedIn
- Includes:
- Concerns::Transition, Fallible
- Defined in:
- lib/booth/userland/logins/transitions/new/already_logged_in.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
10 11 12 13 14 15 |
# File 'lib/booth/userland/logins/transitions/new/already_logged_in.rb', line 10 def call debug { "Good, it looks like you've managed to login" } debug { "Sending you to #{request.return_path.inspect}" } if request.return_path Tron.success :cannot_login_because_already_logged_in, return_path: request.return_path end |