changed auth routes
This commit is contained in:
parent
5ecb57b69f
commit
6d6738b0e8
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue