mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 13:33:48 +00:00
Fix error on EventVoter
This commit is contained in:
@@ -48,17 +48,7 @@ class PersonMenuBuilder implements LocalMenuBuilderInterface
|
||||
->setExtras([
|
||||
'order' => 500
|
||||
]);
|
||||
}
|
||||
////
|
||||
else {
|
||||
dump('not see');
|
||||
}
|
||||
if ($this->authorizationChecker->isGranted(EventVoter::CREATE, $person)) {
|
||||
dump('create');
|
||||
} else {
|
||||
dump('not create');
|
||||
}
|
||||
////
|
||||
}
|
||||
|
||||
public static function getMenuIds(): array
|
||||
|
Reference in New Issue
Block a user