koel/app/Http/Requests/API/Download/Request.php
2018-08-30 10:11:47 +07:00

13 lines
235 B
PHP

<?php
namespace App\Http\Requests\API\Download;
use App\Http\Requests\API\Request as BaseRequest;
class Request extends BaseRequest
{
public function authorize(): bool
{
return config('koel.download.allow');
}
}