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

14 lines
240 B
PHP
Raw Normal View History

2016-06-02 17:53:26 +00:00
<?php
namespace App\Http\Requests\Download;
2016-06-02 17:53:26 +00:00
use App\Http\Requests\API\Request as BaseRequest;
2022-07-29 06:47:10 +00:00
abstract class Request extends BaseRequest
2016-06-02 17:53:26 +00:00
{
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
}
}