think we all know this problem.
In a view you need to set for example the active link to be marked up ( class="active">), for easier navigation of user:
There might be another way to handle active items. But since I named all routes in my application, this keeps working even if I am going to change my URLs one day.
<ul class="nav nav-tabs">
<li role="presentation" class="{{ $nav_home or '' }}"><a href="#">Home</a></li>
<li role="presentation" class="{{ $nav_profile or '' }}"><a href="#">Profile</a></li>
<li role="presentation" class="{{ $nav_messages or '' }}"><a href="#">Messages</a></li>
</ul>
So, if the page includes a variable called nav_profile then insert 'active' into the class. The 'or 'part inserts an empty string if the variable is not present.