Blog

December 17, 2012 // Adam Dorsey

Setting an active link using a Macro in Laravel

In a lot of cases you need to inject an active class into a link. We built this simple macro for such tasks:

Back to posts