feat(artists): change albums table to grid on artist pages
This commit is contained in:
parent
80b0499550
commit
9b4baad5fb
14 changed files with 180 additions and 88 deletions
|
@ -11,8 +11,7 @@
|
|||
|
||||
if (!preg_match('/^music\/genres\/[\w-]+$/', $url)) redirectTo404();
|
||||
|
||||
$fetcher = new GenreFetcher();
|
||||
$genre = $fetcher->fetch($url);
|
||||
$genre = (new GenreFetcher())->fetch($url);
|
||||
|
||||
if (!$genre) redirectTo404();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue