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