From 30c32d9d00c9ca84a6c5d3c08d629d20209233dd Mon Sep 17 00:00:00 2001 From: Guan Shiliang Date: Fri, 9 Dec 2016 16:55:17 +0800 Subject: Fix typo BoardViewController doesn't have the "save" method. --- app/Helper/ProjectRoleHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Helper') diff --git a/app/Helper/ProjectRoleHelper.php b/app/Helper/ProjectRoleHelper.php index 5c80d42b..6f9cf10c 100644 --- a/app/Helper/ProjectRoleHelper.php +++ b/app/Helper/ProjectRoleHelper.php @@ -35,7 +35,7 @@ class ProjectRoleHelper extends Base */ public function isDraggable(array &$task) { - if ($task['is_active'] == 1 && $this->helper->user->hasProjectAccess('BoardViewController', 'save', $task['project_id'])) { + if ($task['is_active'] == 1 && $this->helper->user->hasProjectAccess('BoardAjaxController', 'save', $task['project_id'])) { return $this->isSortableColumn($task['project_id'], $task['column_id']); } -- cgit v1.2.3