Use the static "compiled" method
This commit is contained in:
parent
56c6202d28
commit
ea143fd9e1
|
@ -53,7 +53,7 @@ public static function sharpen()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$compiled = path('storage').'views/'.md5($view->path);
|
$compiled = Blade::compiled($view->path);
|
||||||
|
|
||||||
// If the view doesn't exist or has been modified since the last time it
|
// If the view doesn't exist or has been modified since the last time it
|
||||||
// was compiled, we will recompile the view into pure PHP from it's
|
// was compiled, we will recompile the view into pure PHP from it's
|
||||||
|
|
Loading…
Reference in New Issue