Commit 5e5b629d by Veaceslav Medvedev

Update AccessRule.php

parent f3d23ec0
...@@ -124,7 +124,7 @@ class AccessRule extends Component ...@@ -124,7 +124,7 @@ class AccessRule extends Component
*/ */
protected function matchController($controller) protected function matchController($controller)
{ {
return empty($this->controllers) || in_array($controller->id, $this->controllers, true); return empty($this->controllers) || in_array($controller->uniqueId, $this->controllers, true);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment