Created
July 5, 2021 10:40
-
-
Save juque/1f5b5fa9bd3af7923a1aa74789512edc to your computer and use it in GitHub Desktop.
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
Rails.application.routes.draw do | |
match '/auth/:provider/callback', to: 'session#create', via: [:get, :post] | |
get '/auth/logout', to: 'session#destroy', as: :logout | |
get '/dashboard', to: 'dashboard#index' | |
get 'session/create' | |
get 'dashboard/index' | |
get 'welcome/index' | |
root to: 'welcome#index' | |
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment