# This file is the entry point to configure your own HTTP routes.
# Files in the routes/ subdirectory configure the routes for your dependencies.
#index:
#    path: /
#    controller: App\Controller\DefaultController::index

sonata_user_admin_security:
    resource: '@SonataUserBundle/Resources/config/routing/admin_security.xml'
    prefix: /admin

sonata_user_admin_resetting:
    resource: '@SonataUserBundle/Resources/config/routing/admin_resetting.xml'
    prefix: /admin/resetting

fos_user:
    resource: "@FOSUserBundle/Resources/config/routing/all.xml"

sonata_translation:
    resource: '@SonataTranslationBundle/Resources/config/routes.yaml'

lexik_translation_edition:
    resource: "@LexikTranslationBundle/Resources/config/routing.yml"
    prefix:   /admin

authentication_token:
    path: /api/authentication_token
    methods: ['POST']

app.swagger_ui:
    path: /api/doc
    methods: GET
    defaults: { _controller: nelmio_api_doc.controller.swagger_ui }

payum_all:
    resource: "@PayumBundle/Resources/config/routing/all.xml"
