From 6d6738b0e863423294e1d9a23d4eec837057de52 Mon Sep 17 00:00:00 2001 From: mcmac Date: Thu, 15 Mar 2018 19:38:28 +0000 Subject: [PATCH] changed auth routes --- config/routes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index b84c912..494982d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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