Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: bbb0a76e17
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.2 kB
class SessionsController < ApplicationController
def create
session[:current_user] = auth_hash
redirect_to '/'
end
protected
def auth_hash
request.env['omniauth.auth']
end
end
Jump to Line
Something went wrong with that request. Please try again.