summaryrefslogtreecommitdiffstats
path: root/views/layouts/default.html.php
diff options
context:
space:
mode:
authorMichael Francis <edude03@gmail.com>2011-07-15 18:27:26 -0400
committerMichael Francis <edude03@gmail.com>2011-07-15 18:27:26 -0400
commita277c978e66c970231b3cf987d220f3476fe456e (patch)
treed328ff6bd72ba5d713ec9041f251416aa1f6f068 /views/layouts/default.html.php
parentfe62c892074c6b52f5857d3f630c16a0420f477c (diff)
downloadotakuhub-a277c978e66c970231b3cf987d220f3476fe456e.tar.xz
Select proper link in the navbar
Diffstat (limited to 'views/layouts/default.html.php')
-rw-r--r--views/layouts/default.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/layouts/default.html.php b/views/layouts/default.html.php
index 8d4a667..ee76dd1 100644
--- a/views/layouts/default.html.php
+++ b/views/layouts/default.html.php
@@ -50,7 +50,7 @@ use \lithium\security\Auth;
<ul>
';
foreach ($links as $name => $path) {
- if ($path == '/')
+ if (($path == '/') || ($name == $this->request()->controller))
echo '<li class="current">';
else
echo '<li>';