mirror of
https://github.com/koel/koel
synced 2024-12-21 10:03:10 +00:00
27c4aaf2ba
This reverts commit 1cccffd6ce
.
21 lines
350 B
PHP
21 lines
350 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\API\Download;
|
|
|
|
use App\Models\Album;
|
|
|
|
/**
|
|
* @group 6. Download
|
|
*/
|
|
class AlbumController extends Controller
|
|
{
|
|
/**
|
|
* Download a whole album
|
|
*
|
|
* @response []
|
|
*/
|
|
public function show(Album $album)
|
|
{
|
|
return response()->download($this->downloadService->from($album));
|
|
}
|
|
}
|