Advanced routing configurationΒΆ

By default, the routing file @NucleosUserBundle/Resources/config/routing/all.xml imports all the routing files and enables all the routes. In the case you want to enable or disable the different available routes, use the single routing configuration files.

# config/routes/nucleos_user.yaml
nucleos_user_security:
    resource: "@NucleosUserBundle/Resources/config/routing/security.xml"

nucleos_user_resetting:
    resource: "@NucleosUserBundle/Resources/config/routing/resetting.xml"
    prefix: /resetting

nucleos_user_change_password:
    resource: "@NucleosUserBundle/Resources/config/routing/change_password.xml"
    prefix: /security