Using Laravel 5.3
Have stripped this right back but basically I have a very simple list, I want to add class 'active' to the list item if Request::is('url') returns true.
<ul>
<li class="">One</li>
<li class="">Two</li>
</ul>
This works perfectly fine for most of my requests, however if my request looks something like the below..
http://ift.tt/2m3RKzf
.. li 'one' would still be active, I do not want this, If there are extra parameters I do not want the class active applied.
How would I go about putting this behaviour into place?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lyZU50
via IFTTT
Aucun commentaire:
Enregistrer un commentaire