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