summaryrefslogtreecommitdiff
path: root/app/Template/user/sidebar.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-26 17:25:54 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-26 17:25:54 -0400
commit4ca716ec47863f3eef6c851de7a4f37650f8ea6e (patch)
treeaf7ca983e3cec6300c1689bd76eb99e37fc2f799 /app/Template/user/sidebar.php
parent820c929ab38273c80d0930e2e6140dd7676ba4df (diff)
Move avatar actions to controller AvatarFile
Diffstat (limited to 'app/Template/user/sidebar.php')
-rw-r--r--app/Template/user/sidebar.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/user/sidebar.php b/app/Template/user/sidebar.php
index ecadc60d..5ea2e355 100644
--- a/app/Template/user/sidebar.php
+++ b/app/Template/user/sidebar.php
@@ -37,8 +37,8 @@
<li <?= $this->app->checkMenuSelection('user', 'edit') ?>>
<?= $this->url->link(t('Edit profile'), 'user', 'edit', array('user_id' => $user['id'])) ?>
</li>
- <li <?= $this->app->checkMenuSelection('user', 'avatar') ?>>
- <?= $this->url->link(t('Avatar'), 'user', 'avatar', array('user_id' => $user['id'])) ?>
+ <li <?= $this->app->checkMenuSelection('AvatarFile') ?>>
+ <?= $this->url->link(t('Avatar'), 'AvatarFile', 'show', array('user_id' => $user['id'])) ?>
</li>
<?php endif ?>