DaRo

This is really old, but i've found a solution that worked for me:

I did the menu list in bootstrap way, and it would be like this;

<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">

<li {{{ (Request::is('dashboard') ? 'class=active' : '') }}}>
<a href="{{action('action to see the view')}}">Home</a>
</li>

<li {{{ (Request::is('companies') ? 'class=active' : '') }}}>
<a href="{{action('action to see the view')}}">Companies</a>
</li>
</ul>

</div><!--/.nav-collapse -->

Notist that the thing that you put inside the request should be the path, in my case, for the dasboard was project.dev/dashboard

Hope this helps someone.

Return to Thread...