summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-25 22:46:21 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-25 22:46:21 -0400
commitf2cce5ade869420bb73d5af2ad17907b1c3bb3da (patch)
tree3fda5e4beec87ff5781ad8e3e980abc75dd7518d /app/Controller
parent24ce1b42f8c23293f504ae312dc5e6b903ab869c (diff)
Rename ProjectEdit controller
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/ProjectEditController.php (renamed from app/Controller/ProjectEdit.php)8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Controller/ProjectEdit.php b/app/Controller/ProjectEditController.php
index e3ba74c3..774c6909 100644
--- a/app/Controller/ProjectEdit.php
+++ b/app/Controller/ProjectEditController.php
@@ -5,10 +5,10 @@ namespace Kanboard\Controller;
/**
* Project Edit Controller
*
- * @package controller
+ * @package Kanboard\Controller
* @author Frederic Guillot
*/
-class ProjectEdit extends BaseController
+class ProjectEditController extends BaseController
{
/**
* General edition (most common operations)
@@ -75,7 +75,7 @@ class ProjectEdit extends BaseController
if ($valid) {
if ($this->project->update($values)) {
$this->flash->success(t('Project updated successfully.'));
- return $this->response->redirect($this->helper->url->to('ProjectEdit', $redirect, array('project_id' => $project['id'])), true);
+ return $this->response->redirect($this->helper->url->to('ProjectEditController', $redirect, array('project_id' => $project['id'])), true);
} else {
$this->flash->failure(t('Unable to update this project.'));
}
@@ -111,7 +111,7 @@ class ProjectEdit extends BaseController
}
/**
- * Common metthod to render different views
+ * Common method to render different views
*
* @access private
* @param string $template