From 82b5b491bec94cb3d40a5820fbef9959435309be Mon Sep 17 00:00:00 2001
From: Frederic Guillot
Date: Thu, 26 May 2016 22:23:12 -0400
Subject: Rename task view controller
---
app/Template/task/details.php | 2 +-
app/Template/task/dropdown.php | 2 +-
app/Template/task/remove.php | 4 ++--
app/Template/task/sidebar.php | 18 +++++++++---------
4 files changed, 13 insertions(+), 13 deletions(-)
(limited to 'app/Template/task')
diff --git a/app/Template/task/details.php b/app/Template/task/details.php
index 6e72ca3c..bbbbfd8b 100644
--- a/app/Template/task/details.php
+++ b/app/Template/task/details.php
@@ -32,7 +32,7 @@
- = $this->url->link(t('Public link'), 'task', 'readonly', array('task_id' => $task['id'], 'token' => $project['token']), false, '', '', true) ?>
+ = $this->url->link(t('Public link'), 'TaskViewController', 'readonly', array('task_id' => $task['id'], 'token' => $project['token']), false, '', '', true) ?>
diff --git a/app/Template/task/dropdown.php b/app/Template/task/dropdown.php
index 2c3c38c6..6f887c0a 100644
--- a/app/Template/task/dropdown.php
+++ b/app/Template/task/dropdown.php
@@ -58,7 +58,7 @@
user->canRemoveTask($task)): ?>
- = $this->url->link(t('Remove'), 'task', 'remove', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?>
+ = $this->url->link(t('Remove'), 'TaskViewController', 'remove', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?>
diff --git a/app/Template/task/remove.php b/app/Template/task/remove.php
index b869b646..f963a325 100644
--- a/app/Template/task/remove.php
+++ b/app/Template/task/remove.php
@@ -8,8 +8,8 @@
- = $this->url->link(t('Yes'), 'task', 'remove', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'confirmation' => 'yes'), true, 'btn btn-red popover-link') ?>
+ = $this->url->link(t('Yes'), 'TaskViewController', 'remove', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'confirmation' => 'yes'), true, 'btn btn-red popover-link') ?>
= t('or') ?>
- = $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?>
+ = $this->url->link(t('cancel'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?>
diff --git a/app/Template/task/sidebar.php b/app/Template/task/sidebar.php
index c81aab9f..a8e8ba09 100644
--- a/app/Template/task/sidebar.php
+++ b/app/Template/task/sidebar.php
@@ -1,26 +1,26 @@