mirror of
https://github.com/koel/koel
synced 2024-12-22 18:43:21 +00:00
ab4f2210d1
* Add the API documentation * Apply fixes from StyleCI (#871)
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));
|
|
}
|
|
}
|