So, I was wondering which is the best way include a single view (views/login.blade.php) into a layout loader, so I won't have to repeat all the code again.
This is my route that loads the login view:
Route::get('login', function() {
return View::make('login');
});
And I've read the Templating in Laravel but they talk about controllers or blade layouts, no routes layout.
Any idea?