controllers:
    resource: '../../src/Controller/'
    type: annotation
    prefix: /{_locale}
    requirements:
        _locale: '%app_locales%'
    defaults:
        _locale: '%locale%'

app.api:
    resource: '../src/API/'
    type: rest
    prefix: /api

auth:
    resource: '../../src/Controller/Auth/'
    type: annotation
    prefix: /auth

security:
    resource: '../../src/Controller/Security/'
    type: annotation
    prefix: /{_locale}
    requirements:
        _locale: '%app_locales%'
    defaults:
        _locale: '%locale%'
