changed auth routes

This commit is contained in:
mcmac 2018-03-15 19:38:28 +00:00
parent 5ecb57b69f
commit 6d6738b0e8

View file

@ -13,6 +13,6 @@ Rails.application.routes.draw do
end
resources :users
post 'auth/login', to: 'authentication#authenticate'
post 'signup', to: 'users#create'
post 'login', to: 'authentication#authenticate'
post 'register', to: 'users#create'
end