Changed views from .php extension to .twig
This commit is contained in:
		@@ -2,6 +2,6 @@
 | 
			
		||||
 | 
			
		||||
$app->get('/about', function() use($app) {
 | 
			
		||||
 | 
			
		||||
	$app->render('about.php');
 | 
			
		||||
	$app->render('about.twig');
 | 
			
		||||
 | 
			
		||||
})->name('about');
 | 
			
		||||
 
 | 
			
		||||
@@ -2,6 +2,6 @@
 | 
			
		||||
 | 
			
		||||
$app->get('/contact', function() use($app) {
 | 
			
		||||
 | 
			
		||||
	$app->render('contact.php');
 | 
			
		||||
	$app->render('contact.twig');
 | 
			
		||||
 | 
			
		||||
})->name('contact');
 | 
			
		||||
 
 | 
			
		||||
@@ -2,6 +2,6 @@
 | 
			
		||||
 | 
			
		||||
$app->get('/home', function() use($app) {
 | 
			
		||||
 | 
			
		||||
	$app->render('home.php');
 | 
			
		||||
	$app->render('home.twig');
 | 
			
		||||
 | 
			
		||||
})->name('home');
 | 
			
		||||
 
 | 
			
		||||
@@ -2,6 +2,6 @@
 | 
			
		||||
 | 
			
		||||
$app->get('/music', function() use($app) {
 | 
			
		||||
 | 
			
		||||
	$app->render('music.php');
 | 
			
		||||
	$app->render('music.twig');
 | 
			
		||||
 | 
			
		||||
})->name('music');
 | 
			
		||||
 
 | 
			
		||||
@@ -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,
 | 
			
		||||
	]);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user