Class: AnyLogin::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Includes:
AnyLogin.provider.constantize::Controller, Clearance::Controller
Defined in:
app/controllers/any_login/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#any_loginObject



16
17
18
19
20
# File 'app/controllers/any_login/application_controller.rb', line 16

def 
  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