app/controllers/devise/omniauth_callbacks_controller.rb in devise-2.0.0.rc vs app/controllers/devise/omniauth_callbacks_controller.rb in devise-2.0.0.rc2

- old
+ new

@@ -1,7 +1,5 @@ -class Devise::OmniauthCallbacksController < ApplicationController - include Devise::Controllers::InternalHelpers - +class Devise::OmniauthCallbacksController < DeviseController def failure set_flash_message :alert, :failure, :kind => failed_strategy.name.to_s.humanize, :reason => failure_message redirect_to after_omniauth_failure_path_for(resource_name) end