website/app/routes/music.php
2016-04-20 23:11:33 -04:00

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');