book page start

This commit is contained in:
CHIEFSOFT\ameye
2024-09-22 08:33:48 -04:00
parent 3081113cb4
commit 6e5aefe8d5
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -8,3 +8,4 @@ use CodeIgniter\Router\RouteCollection;
$routes->get('/', 'Home::index'); $routes->get('/', 'Home::index');
$routes->get('/about', 'Home::about'); $routes->get('/about', 'Home::about');
$routes->get('/contact', 'Home::contact'); $routes->get('/contact', 'Home::contact');
$routes->get('/book', 'Home::book');
+4
View File
@@ -16,4 +16,8 @@ class Home extends BaseController
{ {
return view('contact'); return view('contact');
} }
public function book(): string
{
return view('home');
}
} }