mirror of
https://github.com/koel/koel
synced 2024-12-21 18:13:13 +00:00
21 lines
351 B
PHP
21 lines
351 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));
|
|
}
|
|
}
|