Created
January 30, 2016 19:11
-
-
Save stevesohcot/737732d7d8d7e5318fa0 to your computer and use it in GitHub Desktop.
OmniAuth - Routes
This file contains 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 | |
match 'auth/:provider/callback', to: 'sessions#create', via: :all | |
match 'auth/failure', to: 'sessions#failure', via: :all | |
match 'signup', to: 'identities#new', via: :get | |
match 'login', to: 'sessions#new', via: :get | |
match 'logout', to: 'sessions#destroy', via: [:get, :delete], as: 'logout' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment