diff --git a/app/Config/Routes.php b/app/Config/Routes.php index fc4914a..461960f 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -5,4 +5,4 @@ use CodeIgniter\Router\RouteCollection; /** * @var RouteCollection $routes */ -$routes->get('/', 'Home::index'); +$routes->get('/', 'index::index'); diff --git a/app/Controllers/IndexController.php b/app/Controllers/IndexController.php new file mode 100644 index 0000000..4c78011 --- /dev/null +++ b/app/Controllers/IndexController.php @@ -0,0 +1,14 @@ + + + + + + Code Igniter 4 + + +

Hello

+ + \ No newline at end of file diff --git a/app/Views/welcome_message.php b/app/Views/welcome_message.php index c18eca3..0dd5814 100644 --- a/app/Views/welcome_message.php +++ b/app/Views/welcome_message.php @@ -225,7 +225,6 @@
-

Welcome to CodeIgniter

The small framework with powerful features