Last active
August 25, 2019 14:21
-
-
Save rwehresmann/0267e71446dd649f1e2476eea8b001b4 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 | |
| namespace :admin do | |
| resources :users do | |
| post :login_as_user, on: :member | |
| end | |
| root to: 'users#index' | |
| end | |
| get 'auth/auth0', to: 'auth0#authentication', as: :authentication | |
| get 'auth/auth0/callback', to: 'auth0#callback' | |
| get 'auth/failure', to: 'auth0#failure' | |
| post '/auth/logout', to: 'auth0#logout' | |
| root 'home#index' | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment