Changed views from .php extension to .twig

This commit is contained in:
gballan1 2016-04-20 21:06:02 -04:00
parent d79535a09b
commit cdd075f186
10 changed files with 19 additions and 19 deletions

View File

@ -2,6 +2,6 @@
$app->get('/about', function() use($app) {
$app->render('about.php');
$app->render('about.twig');
})->name('about');

View File

@ -2,6 +2,6 @@
$app->get('/contact', function() use($app) {
$app->render('contact.php');
$app->render('contact.twig');
})->name('contact');

View File

@ -2,6 +2,6 @@
$app->get('/home', function() use($app) {
$app->render('home.php');
$app->render('home.twig');
})->name('home');

View File

@ -2,6 +2,6 @@
$app->get('/music', function() use($app) {
$app->render('music.php');
$app->render('music.twig');
})->name('music');

View File

@ -10,7 +10,7 @@ $app->get('/shows', function() use($app) {
$show->time = date('H:i', strtotime($show->datetime));
}
$app->render('shows.php', [
$app->render('shows.twig', [
'shows' => $shows,
]);