working on authentication

This commit is contained in:
Jared Cosulich 2017-04-05 21:17:27 -04:00
parent f3392f685d
commit a018c42e0f
17 changed files with 154 additions and 80 deletions

View file

@ -21,6 +21,9 @@ Rails.application.routes.draw do
# resources :attempts, only: [:get, :update]
devise_for :users
as :user do
get 'users', :to => 'users#show', :as => :user_root # Rails 3
end
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
get '/admin', to: 'admin#index', as: 'admin'