Moved the main site pages into folders for better project structure
This commit is contained in:
7
app/routes/pages/home.php
Executable file
7
app/routes/pages/home.php
Executable file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
$app->get('/home', function() use($app) {
|
||||
|
||||
$app->render('pages/home.twig');
|
||||
|
||||
})->name('home');
|
Reference in New Issue
Block a user