diff --git a/app/Http/Controllers/SharedController.php b/app/Http/Controllers/SharedController.php index 0a3f26e..6b824f9 100644 --- a/app/Http/Controllers/SharedController.php +++ b/app/Http/Controllers/SharedController.php @@ -97,7 +97,7 @@ class SharedController extends Controller public function edit(Shared $shared) { - $shared = Shared::sharedHosting($shared->id); + $shared = Shared::sharedHosting($shared->id)[0]; return view('shared.edit', compact(['shared'])); }