sonata_profile_1.xml 1.37 KB
Newer Older
Antonin's avatar
Antonin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
<?xml version="1.0" encoding="UTF-8" ?>

<routes xmlns="http://symfony.com/schema/routing"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">

    <route id="fos_user_profile_show" pattern="/">
        <default key="_controller">SonataUserBundle:ProfileFOSUser1:show</default>
        <requirement key="_method">GET</requirement>
    </route>

    <route id="fos_user_profile_edit_authentication" pattern="/edit-authentication">
        <default key="_controller">SonataUserBundle:ProfileFOSUser1:editAuthentication</default>
    </route>

    <route id="fos_user_profile_edit" pattern="/edit-profile">
        <default key="_controller">SonataUserBundle:ProfileFOSUser1:editProfile</default>
    </route>

    <route id="sonata_user_profile_show" pattern="/">
        <default key="_controller">SonataUserBundle:ProfileFOSUser1:show</default>
        <requirement key="_method">GET</requirement>
    </route>

    <route id="sonata_user_profile_edit_authentication" pattern="/edit-authentication">
        <default key="_controller">SonataUserBundle:ProfileFOSUser1:editAuthentication</default>
    </route>

    <route id="sonata_user_profile_edit" pattern="/edit-profile">
        <default key="_controller">SonataUserBundle:ProfileFOSUser1:editProfile</default>
    </route>

</routes>