diff --git a/app/routes/home.php b/app/routes/home.php index e9aea07..cae12e1 100755 --- a/app/routes/home.php +++ b/app/routes/home.php @@ -1,6 +1,6 @@ get('/', function() use($app) { +$app->get('/home', function() use($app) { $app->render('home.php'); diff --git a/app/routes/index.php b/app/routes/index.php new file mode 100644 index 0000000..77c991f --- /dev/null +++ b/app/routes/index.php @@ -0,0 +1,7 @@ +get('/home', function() use($app) { + + $app->response->redirect($app->urlFor('home'), '303'); + +})->name('index');