Commit b35541bc authored by Taddeus Kroes's avatar Taddeus Kroes

Bugfix

parent 88c11fe3
......@@ -36,7 +36,7 @@
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li n:foreach="$menu as $m" n:if="$m"
n:class="strpos($app->request()->getPathInfo(), '/'.$m[0]) === 0 ? active">
n:class="'/'.$m[0] == $app->request()->getPathInfo() ? active">
<a href="{$m[0]}">{$m[1]}</a>
</li>
</ul>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment