From 89e51e2da758bc6f2a03af2445293cfee21a502e Mon Sep 17 00:00:00 2001 From: gballan1 Date: Sun, 27 Nov 2016 21:50:40 -0500 Subject: [PATCH] Fixed music routes --- app/routes/music.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes/music.php b/app/routes/music.php index 628a2ba..1a70c91 100755 --- a/app/routes/music.php +++ b/app/routes/music.php @@ -6,7 +6,7 @@ $app->get('/music1', function() use($app) { $albums = $app->album->all()->sortByDesc('release_date')->values()->all(); $songs = $albums[0]->songs; - $app->render('music.twig', [ + $app->render('music1.twig', [ 'albums' => $albums, 'songs' => $songs, ]); @@ -19,7 +19,7 @@ $app->get('/music2', function() use($app) { $albums = $app->album->all()->sortByDesc('release_date')->values()->all(); $songs = $albums[0]->songs; - $app->render('music.twig', [ + $app->render('music2.twig', [ 'albums' => $albums, 'songs' => $songs, ]);