summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuan Shiliang <phecho@163.com>2016-12-09 16:55:17 +0800
committerGitHub <noreply@github.com>2016-12-09 16:55:17 +0800
commit30c32d9d00c9ca84a6c5d3c08d629d20209233dd (patch)
tree1acdf898874ff7c828e0da47a8b34116b89fc319
parent9e8e61db700fb1f6b1bc282f31fc10de4a3e2de2 (diff)
Fix typo
BoardViewController doesn't have the "save" method.
-rw-r--r--app/Helper/ProjectRoleHelper.php2
1 files changed, 1 insertions, 1 deletions
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']);
}