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
|
end
|
||||||
|
|
||||||
resources :users
|
resources :users
|
||||||
post 'auth/login', to: 'authentication#authenticate'
|
post 'login', to: 'authentication#authenticate'
|
||||||
post 'signup', to: 'users#create'
|
post 'register', to: 'users#create'
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue