helper.php
function set_active($path, $active = 'active') {
return call_user_func_array('Request::is', (array)$path) ? $active : '';
}
master.blade.php
<li class="{{ set_active(['backend/users*', 'backend/profile*']) }}">
{!! link_to_route('backend.users.index', 'Manage Users', [],['class' => 'waves-effect waves-blue']) !!}
</li>