Update ProfileController

pull/3181/head
Daniel Supernault 3 years ago
parent 97a75e0fde
commit 940209018a
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -232,7 +232,8 @@ class ProfileController extends Controller
}
$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)

Loading…
Cancel
Save