Ver Fonte

Update ProfileController

Daniel Supernault há 3 anos atrás
pai
commit
940209018a
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      app/Http/Controllers/ProfileController.php

+ 2 - 1
app/Http/Controllers/ProfileController.php

@@ -232,7 +232,8 @@ class ProfileController extends Controller
 		}
 		}
 
 
 		$profile = AccountService::get($profile->id);
 		$profile = AccountService::get($profile->id);
-		return view('profile.embed', compact('profile'))->withHeaders(['X-Frame-Options' => 'ALLOWALL']);
+		$res = view('profile.embed', compact('profile'));
+		return response($res)->withHeaders(['X-Frame-Options' => 'ALLOWALL']);
 	}
 	}
 
 
 	public function stories(Request $request, $username)
 	public function stories(Request $request, $username)