@@ -38,8 +38,7 @@ |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | $resource = $this instanceof \Nette\Application\IPresenter ? |
41 | - $this->getName() : |
|
42 | - static::getReflection()->getName(); |
|
41 | + $this->getName() : static::getReflection()->getName(); |
|
43 | 42 | |
44 | 43 | return $this->authorizator->isAllowed($userId, $resource, $action); |
45 | 44 | } |