Skip to content

Commit

Permalink
fix view response
Browse files Browse the repository at this point in the history
  • Loading branch information
cesargb committed Jan 4, 2025
1 parent 347005d commit 5322a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Responses/ViewResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class ViewResponse implements ResponseContract
{
public function __invoke($options = [])
{
return view(
return response()->view(
$options['view'] ?? null,
$options['data'] ?? []
);
Expand Down

0 comments on commit 5322a4c

Please sign in to comment.