Class: AnyLogin::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- AnyLogin::ApplicationController
- Includes:
- AnyLogin.provider.constantize::Controller, Clearance::Controller
- Defined in:
- app/controllers/any_login/application_controller.rb
Instance Method Summary collapse
Instance Method Details
#any_login ⇒ Object
16 17 18 19 20 |
# File 'app/controllers/any_login/application_controller.rb', line 16 def any_login head 403 && return unless AnyLogin.verify_access_proc.call(self) add_to_previous AnyLogin.provider.constantize::Controller.instance_method(:any_login_sign_in).bind(self).call end |