koel/app/Http/Requests/API/Download/Request.php

14 lines
235 B
PHP
Raw Normal View History

2016-06-02 17:53:26 +00:00
<?php
namespace App\Http\Requests\API\Download;
use App\Http\Requests\API\Request as BaseRequest;
class Request extends BaseRequest
{
2018-08-30 03:11:47 +00:00
public function authorize(): bool
2016-06-02 17:53:26 +00:00
{
2016-08-21 15:19:03 +00:00
return config('koel.download.allow');
2016-06-02 17:53:26 +00:00
}
}