Updated music view some more - added track listing and fixed the music player

This commit is contained in:
Ascendings
2016-04-21 00:27:42 -04:00
parent 967f716694
commit 6338aa4554
2 changed files with 10 additions and 6 deletions

View File

@ -3,9 +3,11 @@
$app->get('/music', function() use($app) {
$albums = $app->album->all();
$songs = $albums[0]->songs;
$app->render('music.twig', [
'albums' => $albums,
'songs' => $songs,
]);
})->name('music');