Laravel Blade system makes it easy to group views and create modular layouts for your application. Although there is currently very limited documentation on how to make best use of the layout functionality.
One problem we ran into was needing to override our controller's template for our login page, to use our default layout template, instead of the administrator layout template.
It made sense to us to keep our log in logic in our Admin controller from a organizational perspective, but it didn't fit in with other admin styles
Here is how to over ride the Laravel 4 Blade layout on a one off basis.
Route::get('login', [email protected]');
layout = View::make('layouts.main'); // ... Do other login related things $this->layout->content = View::make('forms.login'); } }