mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-04-01 00:35:30 +02: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\Album;
|
||||||
use Poniverse\Ponyfm\Models\ResourceLogItem;
|
use Poniverse\Ponyfm\Models\ResourceLogItem;
|
||||||
use Poniverse\Ponyfm\Models\Track;
|
use Poniverse\Ponyfm\Models\Track;
|
||||||
use Illuminate\Support\Facades\Redirect;
|
use Redirect;
|
||||||
use View;
|
use View;
|
||||||
|
|
||||||
class AlbumsController extends Controller
|
class AlbumsController extends Controller
|
||||||
|
@ -56,7 +56,7 @@ class AlbumsController extends Controller
|
||||||
App::abort(404);
|
App::abort(404);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Redirect::action('AlbumsController@getTrack', [$id, $album->slug]);
|
return Redirect::action('AlbumsController@getShow', [$id, $album->slug]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDownload($id, $extension)
|
public function getDownload($id, $extension)
|
||||||
|
|
Loading…
Add table
Reference in a new issue