mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
working on authentication
This commit is contained in:
parent
f3392f685d
commit
a018c42e0f
17 changed files with 154 additions and 80 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue