diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-03-18 23:32:45 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-03-18 23:32:45 -0400 |
commit | 198bebf36b0ec9348be34d1a2d30ee029fa194a0 (patch) | |
tree | 6c038ab8e1908695507bbd4e7ad03c83f7ad771c /bootstrap | |
parent | c3c9f2a391544afec862d0cd21ba8744a7af96ee (diff) | |
download | edwinmattiacci.com-198bebf36b0ec9348be34d1a2d30ee029fa194a0.tar.gz edwinmattiacci.com-198bebf36b0ec9348be34d1a2d30ee029fa194a0.tar.bz2 edwinmattiacci.com-198bebf36b0ec9348be34d1a2d30ee029fa194a0.zip |
bootstrap/Routes: Change controller naming scheme
Add new controllers
Diffstat (limited to 'bootstrap')
-rw-r--r-- | bootstrap/Routes.php | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/bootstrap/Routes.php b/bootstrap/Routes.php index 4cfe5de..f85d02b 100644 --- a/bootstrap/Routes.php +++ b/bootstrap/Routes.php @@ -3,23 +3,21 @@ /* public routes */ $router->get('', '../controllers/index.controller.php'); -$router->get('contact', '../controllers/contact.php'); -$router->get('feedback', '../controllers/feedback.php'); -$router->get('comments', '../controllers/comments.php'); -$router->get('construction', '../controllers/construction.php'); -$router->get('hashget', '../controllers/comments.php'); -$router->get('hashover', '../controllers/comments.php'); +$router->get('contact', '../controllers/contact.controller.php'); +$router->get('wall', '../controllers/wall.controller.php'); +$router->get('comments', '../controllers/comments.controller.php'); +$router->get('hashget', '../controllers/comments.controller.php'); +$router->get('hashover', '../controllers/comments.controller.php'); $router->head('', '../controllers/index.controller.php'); -$router->head('contact', '../controllers/contact.php'); -$router->head('feedback', '../controllers/feedback.php'); -$router->head('comments', '../controllers/comments.php'); -$router->head('construction', '../controllers/construction.php'); -$router->head('hashget', '../controllers/comments.php'); -$router->head('hashover', '../controllers/comments.php'); +$router->head('contact', '../controllers/contact.controller.php'); +$router->head('wall', '../controllers/wall.controller.php'); +$router->head('comments', '../controllers/comments.controller.php'); +$router->head('hashget', '../controllers/comments.controller.php'); +$router->head('hashover', '../controllers/comments.controller.php'); -$router->post('?sent', '../controllers/mail.controller.php'); -$router->post('hashpost', '../controllers/comments.php'); +$router->post('contact', '../controllers/contact.controller.php'); +$router->post('hashpost', '../controllers/comments.controller.php'); /* backend routes */ |