2019-02-23 16:49:38 +01:00
|
|
|
controllers:
|
2023-05-28 01:57:49 +02:00
|
|
|
resource:
|
|
|
|
|
path: ../../src/Controller/
|
|
|
|
|
namespace: App\Controller
|
|
|
|
|
type: attribute
|
2019-09-12 17:50:33 +02:00
|
|
|
prefix: '{_locale}'
|
2026-07-27 16:09:39 +02:00
|
|
|
# OAuth2 protocol endpoints (client registration, discovery metadata) must live at fixed,
|
|
|
|
|
# spec-mandated paths with no locale prefix - see config/routes/oauth_server_controllers.yaml.
|
|
|
|
|
exclude: '../../src/Controller/OAuth/*'
|
2020-05-10 16:58:53 +02:00
|
|
|
|
2020-01-02 22:55:28 +01:00
|
|
|
defaults:
|
|
|
|
|
_locale: '%kernel.default_locale%'
|
2019-09-12 18:30:12 +02:00
|
|
|
requirements:
|
|
|
|
|
# Match only locales like de_DE or de
|
|
|
|
|
_locale: "^[a-z]{2}(_[A-Z]{2})?$"
|
2020-05-10 15:59:29 +02:00
|
|
|
|
2026-07-27 16:09:39 +02:00
|
|
|
oauth_server_controllers:
|
|
|
|
|
resource:
|
|
|
|
|
path: ../../src/Controller/OAuth/
|
|
|
|
|
namespace: App\Controller\OAuth
|
|
|
|
|
type: attribute
|
|
|
|
|
|
2020-05-10 15:59:29 +02:00
|
|
|
kernel:
|
|
|
|
|
resource: ../../src/Kernel.php
|
2023-05-28 01:57:49 +02:00
|
|
|
type: attribute
|