summaryrefslogtreecommitdiff
path: root/app/Template/notification/task_due.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-01-06 22:46:28 -0500
committerFrederic Guillot <fred@kanboard.net>2015-01-06 22:46:28 -0500
commitbcd727effad93e5482e8c55ca6f235dcf00d8d16 (patch)
treeff3a6526c74552810d3d46f9ba420af6f0a56d2c /app/Template/notification/task_due.php
parentcda7c0f997220e7c433df355e5653353a40663bf (diff)
Change links in notifications
Diffstat (limited to 'app/Template/notification/task_due.php')
-rw-r--r--app/Template/notification/task_due.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/notification/task_due.php b/app/Template/notification/task_due.php
index 066ada64..72c8de1b 100644
--- a/app/Template/notification/task_due.php
+++ b/app/Template/notification/task_due.php
@@ -5,7 +5,7 @@
<li>
(<strong>#<?= $task['id'] ?></strong>)
<?php if ($application_url): ?>
- <a href="<?= $application_url.'?controller=task&action=show&task_id='.$task['id'] ?>"><?= $this->e($task['title']) ?></a>
+ <a href="<?= $application_url.$this->u('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><?= $this->e($task['title']) ?></a>
<?php else: ?>
<?= $this->e($task['title']) ?>
<?php endif ?>