Update StatusController
This commit is contained in:
parent
6c97b2162c
commit
026b59f025
3 changed files with 28 additions and 1 deletions
|
@ -95,7 +95,7 @@ class StatusController extends Controller
|
|||
$showCaption = $request->filled('caption') && $request->caption !== false;
|
||||
$layout = $request->filled('layout') && $request->layout == 'compact' ? 'compact' : 'full';
|
||||
$content = view('status.embed', compact('status', 'showLikes', 'showCaption', 'layout'));
|
||||
return response($content)->withHeaders(['x-frame-options' => 'ALLOWALL']);
|
||||
return response($content)->withHeaders(['X-Frame-Options' => 'ALLOWALL']);
|
||||
}
|
||||
|
||||
public function showObject(Request $request, $username, int $id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue