diff options
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/routes.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config/routes.php b/src/config/routes.php index e5f289c..e5b4a9a 100644 --- a/src/config/routes.php +++ b/src/config/routes.php @@ -17,3 +17,10 @@ $router->get('/forgot-password', 'AuthController', 'forgotPasswordForm'); $router->post('/forgot-password', 'AuthController', 'forgotPassword'); $router->get('/reset-password', 'AuthController', 'resetPasswordForm'); $router->post('/reset-password', 'AuthController', 'resetPassword'); + +// Profile +$router->get('/profile', 'ProfileController', 'show'); +$router->post('/profile/username', 'ProfileController', 'updateUsername'); +$router->post('/profile/email', 'ProfileController', 'updateEmail'); +$router->post('/profile/password', 'ProfileController', 'updatePassword'); +$router->post('/profile/notifications', 'ProfileController', 'updateNotifications'); |
