book page start
This commit is contained in:
@@ -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');
|
||||||
@@ -16,4 +16,8 @@ class Home extends BaseController
|
|||||||
{
|
{
|
||||||
return view('contact');
|
return view('contact');
|
||||||
}
|
}
|
||||||
|
public function book(): string
|
||||||
|
{
|
||||||
|
return view('home');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user