Open lewis-sixth opened 4 years ago
When I try to update a resource I get the error Undefined method redirectAfterUpdate().
Undefined method redirectAfterUpdate()
If I comment out the redirect line in Whitecube\NovaPage\Http\Controllers\ResourceUpdateController everything works as expected
Whitecube\NovaPage\Http\Controllers\ResourceUpdateController
return response()->json([ 'id' => $template->getKey(), 'resource' => $template->getAttributes(), //'redirect' => $resource::redirectAfterUpdate($request, $request->newResourceWith($template)), ]);
When I try to update a resource I get the error
Undefined method redirectAfterUpdate()
.If I comment out the redirect line in
Whitecube\NovaPage\Http\Controllers\ResourceUpdateController
everything works as expected