From 198bebf36b0ec9348be34d1a2d30ee029fa194a0 Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Mon, 18 Mar 2019 23:32:45 -0400 Subject: bootstrap/Routes: Change controller naming scheme Add new controllers --- bootstrap/Routes.php | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'bootstrap') 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 */ -- cgit v1.2.3