From 6eeb9e4b7d02ee746cfff0fb36a4ae5e9a373832 Mon Sep 17 00:00:00 2001 From: Sai Date: Fri, 22 Jun 2012 14:03:56 -0300 Subject: [PATCH] Update patch-1 --- app/controllers/devise/omniauth_callbacks_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/devise/omniauth_callbacks_controller.rb b/app/controllers/devise/omniauth_callbacks_controller.rb index ebd48cbf..14b5ee1c 100644 --- a/app/controllers/devise/omniauth_callbacks_controller.rb +++ b/app/controllers/devise/omniauth_callbacks_controller.rb @@ -6,7 +6,7 @@ class Devise::OmniauthCallbacksController < DeviseController end def failure - set_flash_message :alert, :failure, :kind => OmniAuth::Utils.camelize(failed_strategy.name), :reason => failure_message + set_flash_message :alert, :failure, :kind => OmniAuth::Utils.camelize(failed_strategy.name), :reason => failure_message redirect_to after_omniauth_failure_path_for(resource_name) end