improve single task list

- move to a new controller
- refactor to be more adaptive to context
- partial autowiring
This commit is contained in:
2018-04-23 21:33:07 +02:00
parent 196fc2c38f
commit 60f6cd95b4
5 changed files with 121 additions and 111 deletions

View File

@@ -1,4 +1,5 @@
services:
#chill_task.single_task_controller:
# class: Chill\TaskBundle\Controller\SingleTaskController
# autowire: true
Chill\TaskBundle\Controller\:
#autowire: true
resource: '../../../Controller'
tags: ['controller.service_arguments']

View File

@@ -8,3 +8,5 @@ services:
- method: setAuthorizationHelper
arguments:
- "@chill.main.security.authorization.helper"
Chill\TaskBundle\Repository\SingleTaskRepository: '@chill_task.single_task_repository'