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.
2 parents 3942dcc + 5743e28 commit 0f8d9d6Copy full SHA for 0f8d9d6
packages/framework/src/Pages/VirtualPage.php
@@ -91,9 +91,9 @@ public function compile(): string
91
return $this->__call('compile', []);
92
}
93
94
- if (! $this->contents && $this->view) {
+ if (! $this->getContents() && $this->getBladeView()) {
95
if (str_ends_with($this->view, '.blade.php')) {
96
- return AnonymousViewCompiler::call($this->view, $this->matter->toArray());
+ return AnonymousViewCompiler::call($this->getBladeView(), $this->matter->toArray());
97
98
99
return View::make($this->getBladeView(), $this->matter->toArray())->render();
0 commit comments