From 060b8e7121b6ffc3687d97c252561fc5f468e058 Mon Sep 17 00:00:00 2001 From: Peter Deltchev Date: Sat, 21 May 2016 00:22:47 -0700 Subject: [PATCH] Fixes #83: Album shortlinks work again. --- app/Http/Controllers/AlbumsController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/AlbumsController.php b/app/Http/Controllers/AlbumsController.php index e2fbba09..02455ae9 100644 --- a/app/Http/Controllers/AlbumsController.php +++ b/app/Http/Controllers/AlbumsController.php @@ -25,7 +25,7 @@ use App; use Poniverse\Ponyfm\Models\Album; use Poniverse\Ponyfm\Models\ResourceLogItem; use Poniverse\Ponyfm\Models\Track; -use Illuminate\Support\Facades\Redirect; +use Redirect; use View; class AlbumsController extends Controller @@ -56,7 +56,7 @@ class AlbumsController extends Controller App::abort(404); } - return Redirect::action('AlbumsController@getTrack', [$id, $album->slug]); + return Redirect::action('AlbumsController@getShow', [$id, $album->slug]); } public function getDownload($id, $extension)