gate roles
This commit is contained in:
parent
75ad74e57c
commit
54fe2390e0
@ -12,7 +12,7 @@ class OfftakerController extends Controller
|
||||
{
|
||||
public function index(): JsonResponse
|
||||
{
|
||||
Gate::authorize('super_admin', 'petani');
|
||||
Gate::authorize(['super_admin', 'petani']);
|
||||
|
||||
$listOfftaker = Offtaker::all();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user