mirror of
https://github.com/koel/koel
synced 2024-12-21 01:53:11 +00:00
4858514225
This reverts commit c2e358bdc8
.
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));
|
|
}
|
|
}
|