summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Helper/ProjectRoleHelper.php2
-rw-r--r--app/Template/activity/project.php2
2 files changed, 2 insertions, 2 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']);
}
diff --git a/app/Template/activity/project.php b/app/Template/activity/project.php
index ce1c8c0f..e8e62777 100644
--- a/app/Template/activity/project.php
+++ b/app/Template/activity/project.php
@@ -1,5 +1,5 @@
<section id="main">
- <?= $this->projectHeader->render($project, 'AnalyticController', $this->app->getRouterAction()) ?>
+ <?= $this->projectHeader->render($project, 'ActivityController', $this->app->getRouterAction()) ?>
<?php if ($project['is_public']): ?>
<div class="menu-inline pull-right">