summaryrefslogtreecommitdiff
path: root/app/Template/project/sidebar.php
diff options
context:
space:
mode:
authorBusfreak <martin@middeke.de>2015-12-17 20:00:15 +0100
committerBusfreak <martin@middeke.de>2015-12-17 20:00:15 +0100
commita4a1cd9f0cfe6679540dad538703648be19f48b1 (patch)
tree3b6440171d60c9e9585714010c17bfe04cd4ac74 /app/Template/project/sidebar.php
parentbf2034b4160d09bca25030ad75d26247f0371a92 (diff)
set class=active when selecting controller=ProjectPermission
Diffstat (limited to 'app/Template/project/sidebar.php')
-rw-r--r--app/Template/project/sidebar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/project/sidebar.php b/app/Template/project/sidebar.php
index d484e2bc..92794038 100644
--- a/app/Template/project/sidebar.php
+++ b/app/Template/project/sidebar.php
@@ -33,7 +33,7 @@
<?= $this->url->link(t('Categories'), 'category', 'index', array('project_id' => $project['id'])) ?>
</li>
<?php if ($project['is_private'] == 0): ?>
- <li <?= $this->app->getRouterController() === 'project' && $this->app->getRouterAction() === 'permissions' ? 'class="active"' : '' ?>>
+ <li <?= $this->app->getRouterController() === 'ProjectPermission' ? 'class="active"' : '' ?>>
<?= $this->url->link(t('Permissions'), 'ProjectPermission', 'index', array('project_id' => $project['id'])) ?>
</li>
<?php endif ?>