initial commit

This commit is contained in:
Josh
2018-05-07 16:06:01 -04:00
commit 4037b6304e
125 changed files with 2493 additions and 0 deletions

View File

@ -0,0 +1,22 @@
class SessionsController < ApplicationController
# GET /login
def new
end
# GET /logout
def destroy
logout
end
# GET/POST /auth/:provider/callback
def create
user = User.from_omniauth(request.env['omniauth.auth'])
login(user)
end
# POST /auth/failure
def fail
end
end