summaryrefslogtreecommitdiff
path: root/app/ServiceProvider
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/ServiceProvider
parent24ce1b42f8c23293f504ae312dc5e6b903ab869c (diff)
Rename ProjectEdit controller
Diffstat (limited to 'app/ServiceProvider')
-rw-r--r--app/ServiceProvider/AuthenticationProvider.php2
-rw-r--r--app/ServiceProvider/RouteProvider.php8
2 files changed, 5 insertions, 5 deletions
diff --git a/app/ServiceProvider/AuthenticationProvider.php b/app/ServiceProvider/AuthenticationProvider.php
index fe9cee3c..051dcc30 100644
--- a/app/ServiceProvider/AuthenticationProvider.php
+++ b/app/ServiceProvider/AuthenticationProvider.php
@@ -83,7 +83,7 @@ class AuthenticationProvider implements ServiceProviderInterface
$acl->add('Gantt', '*', Role::PROJECT_MANAGER);
$acl->add('ProjectViewController', array('share', 'updateSharing', 'integrations', 'updateIntegrations', 'notifications', 'updateNotifications', 'duplicate', 'doDuplication'), Role::PROJECT_MANAGER);
$acl->add('ProjectPermissionController', '*', Role::PROJECT_MANAGER);
- $acl->add('ProjectEdit', '*', Role::PROJECT_MANAGER);
+ $acl->add('ProjectEditController', '*', Role::PROJECT_MANAGER);
$acl->add('ProjectFile', '*', Role::PROJECT_MEMBER);
$acl->add('Projectuser', '*', Role::PROJECT_MANAGER);
$acl->add('ProjectStatusController', '*', Role::PROJECT_MANAGER);
diff --git a/app/ServiceProvider/RouteProvider.php b/app/ServiceProvider/RouteProvider.php
index e52b0762..2d705217 100644
--- a/app/ServiceProvider/RouteProvider.php
+++ b/app/ServiceProvider/RouteProvider.php
@@ -65,10 +65,10 @@ class RouteProvider implements ServiceProviderInterface
$container['route']->addRoute('project/:project_id/overview', 'ProjectOverview', 'show');
// ProjectEdit routes
- $container['route']->addRoute('project/:project_id/edit', 'ProjectEdit', 'edit');
- $container['route']->addRoute('project/:project_id/edit/dates', 'ProjectEdit', 'dates');
- $container['route']->addRoute('project/:project_id/edit/description', 'ProjectEdit', 'description');
- $container['route']->addRoute('project/:project_id/edit/priority', 'ProjectEdit', 'priority');
+ $container['route']->addRoute('project/:project_id/edit', 'ProjectEditController', 'edit');
+ $container['route']->addRoute('project/:project_id/edit/dates', 'ProjectEditController', 'dates');
+ $container['route']->addRoute('project/:project_id/edit/description', 'ProjectEditController', 'description');
+ $container['route']->addRoute('project/:project_id/edit/priority', 'ProjectEditController', 'priority');
// ProjectUser routes
$container['route']->addRoute('projects/managers/:user_id', 'projectuser', 'managers');