diff options
author | Michael Vickers <michaelvickers.uk@gmail.com> | 2018-10-14 10:58:31 +0100 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-10-15 18:07:50 -0700 |
commit | 2deb6cc917bdcfa503a892491532b94bef19d1e1 (patch) | |
tree | 02b942c5fcb0979bcdd3395bedf6b3b43ee68aef /app/Controller/TaskDuplicationController.php | |
parent | d4749a44025b1518cd8f83941f960e2f699b69b7 (diff) |
Redirect to board view of the current task after duplication
Diffstat (limited to 'app/Controller/TaskDuplicationController.php')
-rw-r--r-- | app/Controller/TaskDuplicationController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/TaskDuplicationController.php b/app/Controller/TaskDuplicationController.php index 915bf8f8..6f81b25a 100644 --- a/app/Controller/TaskDuplicationController.php +++ b/app/Controller/TaskDuplicationController.php @@ -87,7 +87,7 @@ class TaskDuplicationController extends BaseController if ($task_id > 0) { $this->flash->success(t('Task created successfully.')); - return $this->response->redirect($this->helper->url->to('TaskViewController', 'show', array('project_id' => $values['project_id'], 'task_id' => $task_id))); + return $this->response->redirect($this->helper->url->to('BoardViewController', 'show', array('project_id' => $task['project_id'])), true); } } |