Skip to content

Commit 215ea69

Browse files
committed
Merge pull request #7 from hamway/patch-1
Update DbBladeCompiler.php
2 parents d8d2f0d + 664f684 commit 215ea69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/Flynsarmy/DbBladeCompiler/Compilers/DbBladeCompiler.php

+2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ public function getCompiledPath($model)
6666
*/
6767
public function isExpired($path)
6868
{
69+
if(Config::get('app.debug')) return true;
70+
6971
$compiled = $this->getCompiledPath($path);
7072

7173
// If the compiled file doesn't exist we will indicate that the view is expired

0 commit comments

Comments
 (0)