person: rewrite social issue api controller for ordering

This commit is contained in:
nobohan
2022-02-01 16:49:14 +01:00
parent de1dddbb85
commit eb32b13bcc
4 changed files with 106 additions and 42 deletions

View File

@@ -199,3 +199,7 @@ chill_person_social_result_admin:
chill_person_controllers:
resource: "@ChillPersonBundle/Controller"
type: annotation
social_work_social_issue:
path: "/api/1.0/person/social-work/social-issue.json"
controller: Chill\PersonBundle\Controller\SocialIssueApiController::indexAction

View File

@@ -66,3 +66,7 @@ services:
Chill\PersonBundle\Controller\RelationshipApiController:
autowire: true
tags: ['controller.service_arguments']
Chill\PersonBundle\Controller\SocialIssueApiController:
autowire: true
autoconfigure: true