website/app/routes/index.php

8 lines
128 B
PHP

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