mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
admin: admin section for social work related entities: SocialIssue, SocialAction, Goal, Result, Evaluation
This commit is contained in:
@@ -190,7 +190,7 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
|
||||
'name' => 'social_issue',
|
||||
'base_path' => '/admin/social-work/social-issue',
|
||||
'form_class' => \Chill\PersonBundle\Form\SocialWork\SocialIssueType::class,
|
||||
'controller' => \Chill\PersonBundle\Controller\SocialWork\AdminSocialIssueController::class,
|
||||
'controller' => \Chill\PersonBundle\Controller\SocialWork\SocialIssueController::class,
|
||||
'actions' => [
|
||||
'index' => [
|
||||
'role' => 'ROLE_ADMIN',
|
||||
@@ -211,7 +211,7 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
|
||||
'name' => 'social_action',
|
||||
'base_path' => '/admin/social-work/social-action',
|
||||
'form_class' => \Chill\PersonBundle\Form\SocialWork\SocialActionType::class,
|
||||
'controller' => \Chill\PersonBundle\Controller\SocialWork\AdminSocialActionController::class,
|
||||
'controller' => \Chill\PersonBundle\Controller\SocialWork\SocialActionController::class,
|
||||
'actions' => [
|
||||
'index' => [
|
||||
'role' => 'ROLE_ADMIN',
|
||||
@@ -232,7 +232,7 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
|
||||
'name' => 'social_goal',
|
||||
'base_path' => '/admin/social-work/goal',
|
||||
'form_class' => \Chill\PersonBundle\Form\SocialWork\GoalType::class,
|
||||
'controller' => \Chill\PersonBundle\Controller\SocialWork\AdminGoalController::class,
|
||||
'controller' => \Chill\PersonBundle\Controller\SocialWork\GoalController::class,
|
||||
'actions' => [
|
||||
'index' => [
|
||||
'role' => 'ROLE_ADMIN',
|
||||
@@ -253,7 +253,7 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
|
||||
'name' => 'social_result',
|
||||
'base_path' => '/admin/social-work/result',
|
||||
'form_class' => \Chill\PersonBundle\Form\SocialWork\ResultType::class,
|
||||
'controller' => \Chill\PersonBundle\Controller\SocialWork\AdminResultController::class,
|
||||
'controller' => \Chill\PersonBundle\Controller\SocialWork\ResultController::class,
|
||||
'actions' => [
|
||||
'index' => [
|
||||
'role' => 'ROLE_ADMIN',
|
||||
@@ -274,7 +274,7 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
|
||||
'name' => 'social_evaluation',
|
||||
'base_path' => '/admin/social-work/evaluation',
|
||||
'form_class' => \Chill\PersonBundle\Form\SocialWork\EvaluationType::class,
|
||||
'controller' => \Chill\PersonBundle\Controller\SocialWork\AdminEvaluationController::class,
|
||||
'controller' => \Chill\PersonBundle\Controller\SocialWork\EvaluationController::class,
|
||||
'actions' => [
|
||||
'index' => [
|
||||
'role' => 'ROLE_ADMIN',
|
||||
|
Reference in New Issue
Block a user