website/app/routes/pages/index.php

8 lines
124 B
PHP

<?php
$app->get('/', function() use($app) {
$app->response->redirect($app->urlFor('home'), '303');
})->name('index');