Skip to content

Commit

Permalink
Load controllers from services.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jun 17, 2020
1 parent 8a65faa commit 39e0867
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/Resources/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,22 @@ services:
autoconfigure: true
autowire: true

EcPhp\CasBundle\Controller\:
resource: '../Controller/'
EcPhp\CasBundle\Controller\Homepage:
autowire: true
autoconfigure: true
tags: ['controller.service_arguments']

EcPhp\CasBundle\Controller\Login:
autowire: true
autoconfigure: true
tags: ['controller.service_arguments']

EcPhp\CasBundle\Controller\Logout:
autowire: true
autoconfigure: true
tags: ['controller.service_arguments']

EcPhp\CasBundle\Controller\ProxyCallback:
autowire: true
autoconfigure: true
tags: ['controller.service_arguments']
Expand Down

0 comments on commit 39e0867

Please sign in to comment.