From 6e5aefe8d58d7bc724f62f48e1d5b54101abc849 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 22 Sep 2024 08:33:48 -0400 Subject: [PATCH] book page start --- app/Config/Routes.php | 3 ++- app/Controllers/Home.php | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/Config/Routes.php b/app/Config/Routes.php index a4e5a01..715a2c8 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -7,4 +7,5 @@ use CodeIgniter\Router\RouteCollection; */ $routes->get('/', 'Home::index'); $routes->get('/about', 'Home::about'); -$routes->get('/contact', 'Home::contact'); \ No newline at end of file +$routes->get('/contact', 'Home::contact'); +$routes->get('/book', 'Home::book'); \ No newline at end of file diff --git a/app/Controllers/Home.php b/app/Controllers/Home.php index e51d31f..8a1cde8 100644 --- a/app/Controllers/Home.php +++ b/app/Controllers/Home.php @@ -16,4 +16,8 @@ class Home extends BaseController { return view('contact'); } + public function book(): string + { + return view('home'); + } }