Sage 9 -- Hide Editor for front-page.php


So I have something that worked fine in Sage 8, but is not working in Sage 9.

I need to hide the default editor on the front-page.blade.php template (in General settings, the static page is selected).

Here is the code I am using, that’s not working in Sage 9:

I tried with front-page.php as well on line 31.

Any help would be appreciated.

Ah never mind.

I echoed the $template_file and it was views/template-home.blade.php.

So I appended views/ in line 31 and it works now.