Skip to content

Commit 3a9f332

Browse files
authored
Update DbView.php
1 parent e2cc151 commit 3a9f332

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Flynsarmy/DbBladeCompiler/DbView.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,10 @@ protected function getContents()
109109
{
110110
$field = $this->config->get('db-blade-compiler.model_property');
111111
$this->path->{$field} = $this->content_field;
112+
$compiler = $this->engine->getCompiler();
113+
$compiler->compile($this->path);
112114

113-
return parent::getContents();
115+
return $this->engine->getContent($compiler->getCompiledPath($this->path), $this->data);
114116
}
115117

116118
/**

0 commit comments

Comments
 (0)