summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-25 22:34:19 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-25 22:34:19 -0400
commit24ce1b42f8c23293f504ae312dc5e6b903ab869c (patch)
tree9833b30965f9e73b98bbc14a47f4e4972905288d /app/Controller
parentff892c5d25e0bab560f005c788189d38c2bcab7b (diff)
Rename ProjectPermission controller
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/ProjectPermissionController.php (renamed from app/Controller/ProjectPermission.php)16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/Controller/ProjectPermission.php b/app/Controller/ProjectPermissionController.php
index f50a96b8..d27681b1 100644
--- a/app/Controller/ProjectPermission.php
+++ b/app/Controller/ProjectPermissionController.php
@@ -6,12 +6,12 @@ use Kanboard\Core\Controller\AccessForbiddenException;
use Kanboard\Core\Security\Role;
/**
- * Project Permission
+ * Project Permission Controller
*
- * @package controller
+ * @package Kanboard\Controller
* @author Frederic Guillot
*/
-class ProjectPermission extends BaseController
+class ProjectPermissionController extends BaseController
{
/**
* Permissions are only available for team projects
@@ -75,7 +75,7 @@ class ProjectPermission extends BaseController
$this->flash->failure(t('Unable to update this project.'));
}
- $this->response->redirect($this->helper->url->to('ProjectPermission', 'index', array('project_id' => $project['id'])));
+ $this->response->redirect($this->helper->url->to('ProjectPermissionController', 'index', array('project_id' => $project['id'])));
}
/**
@@ -96,7 +96,7 @@ class ProjectPermission extends BaseController
$this->flash->failure(t('Unable to update this project.'));
}
- $this->response->redirect($this->helper->url->to('ProjectPermission', 'index', array('project_id' => $project['id'])));
+ $this->response->redirect($this->helper->url->to('ProjectPermissionController', 'index', array('project_id' => $project['id'])));
}
/**
@@ -116,7 +116,7 @@ class ProjectPermission extends BaseController
$this->flash->failure(t('Unable to update this project.'));
}
- $this->response->redirect($this->helper->url->to('ProjectPermission', 'index', array('project_id' => $project['id'])));
+ $this->response->redirect($this->helper->url->to('ProjectPermissionController', 'index', array('project_id' => $project['id'])));
}
/**
@@ -156,7 +156,7 @@ class ProjectPermission extends BaseController
$this->flash->failure(t('Unable to update this project.'));
}
- $this->response->redirect($this->helper->url->to('ProjectPermission', 'index', array('project_id' => $project['id'])));
+ $this->response->redirect($this->helper->url->to('ProjectPermissionController', 'index', array('project_id' => $project['id'])));
}
/**
@@ -176,7 +176,7 @@ class ProjectPermission extends BaseController
$this->flash->failure(t('Unable to update this project.'));
}
- $this->response->redirect($this->helper->url->to('ProjectPermission', 'index', array('project_id' => $project['id'])));
+ $this->response->redirect($this->helper->url->to('ProjectPermissionController', 'index', array('project_id' => $project['id'])));
}
/**