example laravel controller & view (layout);
taken from : http://forums.laravel.io/viewtopic.php?id=839