We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bd945f commit d05393aCopy full SHA for d05393a
src/Response.php
@@ -240,20 +240,20 @@ public function noContent()
240
*/
241
public function view(string $view, array $data = [])
242
{
243
- if (!function_exists('view')) {
244
- $this->markup(
+ if (function_exists('view')) {
+ return $this->markup(
245
view($view, $data),
246
);
247
}
248
249
if (app()->blade()) {
250
251
app()->blade()->render($view, $data),
252
253
254
255
if (app()->template()) {
256
257
app()->template()->render($view, $data),
258
259
0 commit comments