Yii2 Nav widget : active item
<p>I have <code>Nav</code> with items:</p>

<pre><code>[
    'label' =&gt; 'All',
    'url' =&gt; ['project/index'],
],
[
    'label' =&gt; 'Done',
    'url' =&gt; ['project/index', 'assigned' =&gt; 'done'],
],
</code></pre>

<p>But both of them have an <code>active</code> class when I go to project/index&amp;assigned=done. How can I force to attach this class only if item's <code>url</code> is strictly equal to <code>$route</code> value?</p>