diff --git a/src/Http/Controllers/DuplicateController.php b/src/Http/Controllers/DuplicateController.php index 31bde12..3731355 100644 --- a/src/Http/Controllers/DuplicateController.php +++ b/src/Http/Controllers/DuplicateController.php @@ -54,7 +54,7 @@ public function duplicate(Request $request) return [ 'status' => 200, 'message' => 'Done', - 'destination' => url(config('nova.path') . '/resources/' . $request->resource . '/' . $newModel->id) + 'destination' => url(config('nova.path') . '/resources/' . $request->resource . 's/' . $newModel->id) ]; } }