Class: Users::OmniauthCallbacksController

Inherits:
Devise::OmniauthCallbacksController
  • Object
show all
Defined in:
lib/generators/turbolog/templates/app/controllers/Users/omniauth_callbacks_controller.rb

Instance Method Summary collapse

Instance Method Details

#facebookObject



2
3
4
5
# File 'lib/generators/turbolog/templates/app/controllers/Users/omniauth_callbacks_controller.rb', line 2

def facebook
   @user = User.from_omniauth(request.env["omniauth.auth"])
    @user      
end