koel/app/Http/Requests/API/Download/Request.php
2016-08-21 22:19:03 +07:00

23 lines
397 B
PHP

<?php
namespace App\Http\Requests\API\Download;
use App\Http\Requests\API\Request as BaseRequest;
class Request extends BaseRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return config('koel.download.allow');
}
public function rules()
{
return [];
}
}