12 lines
161 B
PHP
Executable File
12 lines
161 B
PHP
Executable File
<?php
|
|
|
|
$app->get('/music', function() use($app) {
|
|
|
|
$albums = $app->album->all();
|
|
|
|
$app->render('music.twig', [
|
|
'albums' => $albums,
|
|
]);
|
|
|
|
})->name('music');
|