app/Http/Controllers/Settings/PermissionController.php
/**
     * Display a listing of the resource.
     *
     * @return \Inertia\Response
     */
Display a listing of the resource.
@return \Inertia\Response
Display a listing of the resource . @return \ Inertia \ Response
public function index(Request $request)
    {
        return Inertia::render('Settings/Permission/Index', [
            'permissionGroups' => PermissionGroup::all(),
            'permissions' => Permission::tableSearch($request->input('searchObj'))
        ]);
    }
public function index ( Request $ request ) { return Inertia :: render ( 'Settings/Permission/Index' , [ 'permissionGroups' => PermissionGroup :: all ( ) , 'permissions' => Permission :: tableSearch ( $ request -> input ( 'searchObj' ) ) ] ) ; }
Display a listing of the resource.
Display a listing of the resource .