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
|
@ -3,6 +3,7 @@
|
|||
require __DIR__ . "/../../vendor/autoload.php";
|
||||
require __DIR__ . "/../../server/utils/init.php";
|
||||
|
||||
use App\Classes\GlobalsFetcher;
|
||||
use App\Classes\ArtistFetcher;
|
||||
use voku\helper\HtmlMin;
|
||||
|
||||
|
@ -11,8 +12,8 @@
|
|||
|
||||
if (strpos($url, "music/artists/") !== 0) redirectTo404();
|
||||
|
||||
$fetcher = new ArtistFetcher();
|
||||
$artist = $fetcher->fetch($url);
|
||||
$globals = (new GlobalsFetcher())->fetch();
|
||||
$artist = (new ArtistFetcher())->fetch($url);
|
||||
|
||||
if (!$artist) redirectTo404();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue