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