mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
Fixes #83: Album shortlinks work again.
This commit is contained in:
parent
44bcf87ddb
commit
060b8e7121
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue