Skip to content

Commit

Permalink
Add fix AclController
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanamat committed Feb 18, 2018
1 parent 4d94102 commit bc6cfe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Controller/AclController.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ public function permissions($model = NULL) {
$this->request->data = array('Perms' => $perms);
$this->set('model', $model);
$this->set('manage', Configure::read('AclManager.aros'));
$this->set('hideDenied', Configure::read('AclManager.hideDenied'));
$this->set('aroAlias', $Aro->alias());
$this->set('aroDisplayField', $Aro->displayField());
$this->set(compact('acos', 'aros'));
Expand Down Expand Up @@ -242,7 +243,7 @@ public function revokePerms() {
$mCounter++;
}

$this->redirect(array("action" => "index"));
$this->redirect(array("action" => "permissions"));
}

/**
Expand Down

0 comments on commit bc6cfe9

Please sign in to comment.