summaryrefslogtreecommitdiff
path: root/app/Integration
diff options
context:
space:
mode:
Diffstat (limited to 'app/Integration')
-rw-r--r--app/Integration/HipchatWebhook.php2
-rw-r--r--app/Integration/SlackWebhook.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Integration/HipchatWebhook.php b/app/Integration/HipchatWebhook.php
index 59190959..5cd01fb0 100644
--- a/app/Integration/HipchatWebhook.php
+++ b/app/Integration/HipchatWebhook.php
@@ -73,7 +73,7 @@ class HipchatWebhook extends \Core\Base
if ($this->config->get('application_url')) {
$html .= '<br/><a href="'.$this->config->get('application_url');
- $html .= $this->helper->u('task', 'show', array('task_id' => $task_id, 'project_id' => $project_id)).'">';
+ $html .= $this->helper->url->href('task', 'show', array('task_id' => $task_id, 'project_id' => $project_id)).'">';
$html .= t('view the task on Kanboard').'</a>';
}
diff --git a/app/Integration/SlackWebhook.php b/app/Integration/SlackWebhook.php
index 4d2ae3a3..8be33496 100644
--- a/app/Integration/SlackWebhook.php
+++ b/app/Integration/SlackWebhook.php
@@ -65,7 +65,7 @@ class SlackWebhook extends \Core\Base
if ($this->config->get('application_url')) {
$payload['text'] .= ' - <'.$this->config->get('application_url');
- $payload['text'] .= $this->helper->u('task', 'show', array('task_id' => $task_id, 'project_id' => $project_id));
+ $payload['text'] .= $this->helper->url->href('task', 'show', array('task_id' => $task_id, 'project_id' => $project_id));
$payload['text'] .= '|'.t('view the task on Kanboard').'>';
}