mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-08-01 14:11:47 +00:00
Added missing features
This commit is contained in:
parent
37108dbf56
commit
fb2759a5b5
21 changed files with 1747 additions and 1 deletions
|
|
@ -4,6 +4,9 @@ controllers:
|
|||
namespace: App\Controller
|
||||
type: attribute
|
||||
prefix: '{_locale}'
|
||||
# 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/*'
|
||||
|
||||
defaults:
|
||||
_locale: '%kernel.default_locale%'
|
||||
|
|
@ -11,6 +14,12 @@ controllers:
|
|||
# Match only locales like de_DE or de
|
||||
_locale: "^[a-z]{2}(_[A-Z]{2})?$"
|
||||
|
||||
oauth_server_controllers:
|
||||
resource:
|
||||
path: ../../src/Controller/OAuth/
|
||||
namespace: App\Controller\OAuth
|
||||
type: attribute
|
||||
|
||||
kernel:
|
||||
resource: ../../src/Kernel.php
|
||||
type: attribute
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue