Class: Devise::OmniauthCallbacksController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Devise::OmniauthCallbacksController
- Includes:
- Controllers::InternalHelpers
- Defined in:
- app/controllers/devise/omniauth_callbacks_controller.rb
Constant Summary
Constants included from Controllers::SharedHelpers
Controllers::SharedHelpers::MIME_REFERENCES
Instance Method Summary collapse
Methods included from Controllers::InternalHelpers
#devise_controller?, #devise_mapping, #resource, #resource_class, #resource_name, #signed_in_resource
Instance Method Details
#failure ⇒ Object
4 5 6 7 |
# File 'app/controllers/devise/omniauth_callbacks_controller.rb', line 4 def failure :alert, :failure, :kind => failed_strategy.name.to_s.humanize, :reason => redirect_to after_omniauth_failure_path_for(resource_name) end |