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'); + } }