kris@sentientgeeks.com 501a8e18e0 initial commit
2021-02-08 19:09:14 +05:30

19 lines
325 B
PHP

<?php
namespace App\Http\Requests\SuperAdmin;
use App\Http\Requests\CoreRequest;
class SuperAdminBaseRequest extends CoreRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return !empty(superAdmin());
}
}