Class: Users::OmniauthCallbacksController

Inherits:
Devise::OmniauthCallbacksController
  • Object
show all
Defined in:
lib/generators/rails_eve/install/templates/omniauth_callbacks_controller.rb

Instance Method Summary collapse

Instance Method Details

#esiObject



5
6
7
8
9
10
11
12
# File 'lib/generators/rails_eve/install/templates/omniauth_callbacks_controller.rb', line 5

def esi
  if @user.persisted?
    import_character
    
  else
    redirect_to new_user_registration_url
  end
end