diff --git a/controllers/auth/urls.js b/controllers/auth/urls.js index b6bcf9b..3519978 100644 --- a/controllers/auth/urls.js +++ b/controllers/auth/urls.js @@ -1,11 +1,11 @@ const url = require('create-url').url; module.exports = [ - url('/login', 'login', 'login'), - url('/logout', 'logout', 'logout'), - url('/login-target', 'loginTarget', 'loginTarget', 'POST'), - url('/signup', 'signup', 'signup'), - url('/signup-target', 'signupTarget', 'signupTarget', 'POST'), - url('/mail-was-sent', 'mailWasSent', 'mailWasSent'), + url('/login/', 'login', 'login'), + url('/logout/', 'logout', 'logout'), + url('/login-target/', 'loginTarget', 'loginTarget', 'POST'), + url('/signup/', 'signup', 'signup'), + url('/signup-target/', 'signupTarget', 'signupTarget', 'POST'), + url('/mail-was-sent/', 'mailWasSent', 'mailWasSent'), url('/activate/:activationKey', 'activate', 'activate'), ] diff --git a/controllers/settings/urls.js b/controllers/settings/urls.js index fe16d88..1c37627 100644 --- a/controllers/settings/urls.js +++ b/controllers/settings/urls.js @@ -1,6 +1,6 @@ const url = require('create-url').url; module.exports = [ - url('/settings', 'settings', 'settings'), - url('/settingsTarget', 'settingsTarget', 'settingsTarget', 'POST'), + url('/settings/', 'settings', 'settings'), + url('/settingsTarget/', 'settingsTarget', 'settingsTarget', 'POST'), ] diff --git a/controllers/total/urls.js b/controllers/total/urls.js index d28f97f..6ef5c38 100644 --- a/controllers/total/urls.js +++ b/controllers/total/urls.js @@ -1,5 +1,5 @@ const url = require('create-url').url; module.exports = [ - url('/total', 'total', 'total'), + url('/total/', 'total', 'total'), ]