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
+2 -1
View File
@@ -7,4 +7,5 @@ use CodeIgniter\Router\RouteCollection;
*/
$routes->get('/', 'Home::index');
$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');
}
public function book(): string
{
return view('home');
}
}