Laravel 4 Controller Templating / Blade – Correct method?
I’ve been reading through the Laravel 4 documentation and have been making a demo application to help with learning. I couldn’t find much documentation on the templating of views with blade and controllers. Which is the correct method or does it come down to personal preference? E.g. 1 Controllers/HomeController.php protected $layout = 'layouts.main'; public function … Read more