mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 07:50:08 +08:00
Move controllers
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
This commit is contained in:
parent
99041d06d8
commit
0774f73684
4 changed files with 11 additions and 5 deletions
|
@ -69,8 +69,14 @@ services:
|
|||
|
||||
# controllers are imported separately to make sure services can be injected
|
||||
# as action arguments even if you don't extend any base controller class
|
||||
App\Controller\:
|
||||
resource: '../core/backend/Controller/*'
|
||||
App\Authentication\Controller\:
|
||||
resource: '../core/backend/Authentication/Controller/*'
|
||||
tags: [ 'controller.service_arguments' ]
|
||||
|
||||
# controllers are imported separately to make sure services can be injected
|
||||
# as action arguments even if you don't extend any base controller class
|
||||
App\Engine\Controller\:
|
||||
resource: '../core/backend/Engine/Controller/*'
|
||||
tags: [ 'controller.service_arguments' ]
|
||||
|
||||
# add more service definitions when explicit configuration is needed
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
controllers:
|
||||
resource: ../../core/backend/Controller/
|
||||
resource: ../../core/backend/**/Controller/*
|
||||
type: annotation
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace App\Controller;
|
||||
namespace App\Authentication\Controller;
|
||||
|
||||
use App\Authentication\LegacyHandler\Authentication;
|
||||
use Exception;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace App\Controller;
|
||||
namespace App\Engine\Controller;
|
||||
|
||||
use RuntimeException;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
Loading…
Add table
Add a link
Reference in a new issue