Updated music view some more - added track listing and fixed the music player
This commit is contained in:
@ -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');
|
||||
|
Reference in New Issue
Block a user