To handle requests from users or define anything that can be accessed from the URL of the website you can open routes/web.php file.
<?php
$app->get('/', function($request, $response){
return $this->view->render($response, 'welcome.twig');
});
By default Harmony already makes routes to manually display the Welcome Page (without controller) which routes routes the user to the Welcome Page when the URL is in / root.
When you need a Controllers to handle request and provide a response the routes needs to be modified. In the previous section in Controllers explanation we have made a Controllers named HomeController, well now we will call HomeContrller:index on Routes.
<?php
$app->get('/', 'HomeController:index');
The routing will direct the user to the Welcome Page when the URL is rooted.