Rename task view controller

This commit is contained in:
Frederic Guillot
2016-05-26 22:23:12 -04:00
parent 9ebbe3da56
commit 82b5b491be
80 changed files with 146 additions and 147 deletions

View File

@@ -52,14 +52,14 @@ class WebNotificationController extends BaseController
$this->response->redirect($this->helper->url->to('DashboardController', 'notifications', array('user_id' => $user_id)));
} elseif ($this->helper->text->contains($notification['event_name'], 'comment')) {
$this->response->redirect($this->helper->url->to(
'task',
'TaskViewController',
'show',
array('task_id' => $notification['event_data']['task']['id'], 'project_id' => $notification['event_data']['task']['project_id']),
'comment-'.$notification['event_data']['comment']['id']
));
} else {
$this->response->redirect($this->helper->url->to(
'task',
'TaskViewController',
'show',
array('task_id' => $notification['event_data']['task']['id'], 'project_id' => $notification['event_data']['task']['project_id'])
));