A view composer can be used to bind database queries to a template, your controllers shouldn't need to know anything about the navigation.
http://laravel.com/docs/responses#view-composers
http://culttt.com/2014/02/10/using-view-composers-laravel-4/
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community