Created
August 1, 2014 03:47
-
-
Save orafaelfragoso/745418eceab3ee9a9cef to your computer and use it in GitHub Desktop.
Omniauth Routes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Omniauth Authentication | |
get 'auth/:provider/callback' => 'sessions#create' | |
get 'auth/failure' => redirect('/') | |
get 'signout' => 'sessions#destroy', :as => 'signout' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment