mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
admin: add personresourcekind in the admin
This commit is contained in:
@@ -206,6 +206,27 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'class' => \Chill\PersonBundle\Entity\Person\PersonResourceKind::class,
|
||||
'name' => 'person_resource-kind',
|
||||
'base_path' => '/admin/person/resource-kind',
|
||||
'form_class' => \Chill\PersonBundle\Form\PersonResourceKindType::class,
|
||||
'controller' => \Chill\PersonBundle\Controller\PersonResourceKindController::class,
|
||||
'actions' => [
|
||||
'index' => [
|
||||
'role' => 'ROLE_ADMIN',
|
||||
'template' => '@ChillPerson/PersonResourceKind/index.html.twig',
|
||||
],
|
||||
'new' => [
|
||||
'role' => 'ROLE_ADMIN',
|
||||
'template' => '@ChillPerson/PersonResourceKind/new.html.twig',
|
||||
],
|
||||
'edit' => [
|
||||
'role' => 'ROLE_ADMIN',
|
||||
'template' => '@ChillPerson/PersonResourceKind/edit.html.twig',
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'class' => \Chill\PersonBundle\Entity\SocialWork\SocialIssue::class,
|
||||
'name' => 'social_issue',
|
||||
|
Reference in New Issue
Block a user