Class: Devise::ArchangelCallbacksController
- Inherits:
-
DeviseController
- Object
- DeviseController
- Devise::ArchangelCallbacksController
- Defined in:
- app/controllers/devise/archangel_callbacks_controller.rb
Instance Method Summary collapse
Instance Method Details
#failure ⇒ Object
8 9 10 11 |
# File 'app/controllers/devise/archangel_callbacks_controller.rb', line 8 def failure :alert, :failure, :kind => Archangel::Utils.camelize(failed_strategy.name), :reason => redirect_to after_archangel_failure_path_for(resource_name) end |
#passthru ⇒ Object
4 5 6 |
# File 'app/controllers/devise/archangel_callbacks_controller.rb', line 4 def passthru render :status => 404, :text => "Not found. Authentication passthru." end |