diff --git a/application/controllers/PermissionsController.php b/application/controllers/PermissionsController.php index 5648837f8..9161553a2 100644 --- a/application/controllers/PermissionsController.php +++ b/application/controllers/PermissionsController.php @@ -15,7 +15,7 @@ class SecurityController extends ActionController $this->view->roles = Config::app('roles', true); } - public function newRoleAction() + public function newAction() { $role = new RoleForm(array( 'onSuccess' => function (RoleForm $role) { @@ -42,7 +42,7 @@ class SecurityController extends ActionController $this->view->form = $role; } - public function updateRoleAction() + public function updateAction() { $name = $this->_request->getParam('role'); if (empty($name)) { @@ -86,7 +86,7 @@ class SecurityController extends ActionController $this->view->form = $role; } - public function removeRoleAction() + public function removeAction() { $name = $this->_request->getParam('role'); if (empty($name)) { diff --git a/application/views/scripts/permissions/index.phtml b/application/views/scripts/permissions/index.phtml index 3dc571ce9..520f42d1a 100644 --- a/application/views/scripts/permissions/index.phtml +++ b/application/views/scripts/permissions/index.phtml @@ -19,14 +19,14 @@