mirror of
https://github.com/koel/koel
synced 2024-12-22 10:33:16 +00:00
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));
|
|
}
|
|
}
|