summaryrefslogtreecommitdiffstats
path: root/views/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'views/layouts')
-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>';