Class: ExternalCredentialsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
lib/generators/monban/templates/app/controllers/external_credentials_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



2
3
4
5
6
# File 'lib/generators/monban/templates/app/controllers/external_credentials_controller.rb', line 2

def create
  credential = ExternalAuthentication.new(auth_hash).perform
   credential.user
  redirect_to root_path
end