From 46ed06268dc3d591fb7bb90a5a9a75e77c17b86c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 17 May 2016 22:25:18 -0400 Subject: Rename subtask controller --- app/Template/task/dropdown.php | 2 +- app/Template/task/layout.php | 2 +- app/Template/task/sidebar.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'app/Template/task') diff --git a/app/Template/task/dropdown.php b/app/Template/task/dropdown.php index 4be69851..887e1828 100644 --- a/app/Template/task/dropdown.php +++ b/app/Template/task/dropdown.php @@ -25,7 +25,7 @@
  • - url->link(t('Add a sub-task'), 'subtask', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?> + url->link(t('Add a sub-task'), 'SubtaskController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?>
  • diff --git a/app/Template/task/layout.php b/app/Template/task/layout.php index ba2cd8d5..4bc67406 100644 --- a/app/Template/task/layout.php +++ b/app/Template/task/layout.php @@ -5,7 +5,7 @@ class="sidebar-container" id="task-view" data-edit-url="url->href('taskmodification', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" data-description-url="url->href('taskmodification', 'description', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" - data-subtask-url="url->href('subtask', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" + data-subtask-url="url->href('SubtaskController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" data-internal-link-url="url->href('TaskInternalLink', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" data-comment-url="url->href('comment', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"> diff --git a/app/Template/task/sidebar.php b/app/Template/task/sidebar.php index 46f9e1a2..3dc518b4 100644 --- a/app/Template/task/sidebar.php +++ b/app/Template/task/sidebar.php @@ -44,7 +44,7 @@
  • - url->link(t('Add a sub-task'), 'subtask', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?> + url->link(t('Add a sub-task'), 'SubtaskController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?>
  • -- cgit v1.2.3