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