Module: AnyLogin::Provider::Authlogic::Controller
- Defined in:
- lib/any_login/providers/authlogic.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#any_login_sign_in ⇒ Object
11 12 13 14 15 16 |
# File 'lib/any_login/providers/authlogic.rb', line 11 def any_login_sign_in reset_session @loginable = AnyLogin.klass.find(user_id) Object.const_get("#{AnyLogin.klass}Session").create(@loginable) redirect_to main_app.send(AnyLogin.redirect_path_after_login) end |