sonata_security_1.xml 1.2 KB

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <route id="fos_user_security_login" path="/login">
  4. <default key="_controller">SonataUserBundle:SecurityFOSUser1:login</default>
  5. </route>
  6. <route id="fos_user_security_check" path="/login_check" methods="POST">
  7. <default key="_controller">SonataUserBundle:SecurityFOSUser1:check</default>
  8. </route>
  9. <route id="fos_user_security_logout" path="/logout">
  10. <default key="_controller">SonataUserBundle:SecurityFOSUser1:logout</default>
  11. </route>
  12. <route id="sonata_user_security_login" path="/login">
  13. <default key="_controller">SonataUserBundle:SecurityFOSUser1:login</default>
  14. </route>
  15. <route id="sonata_user_security_check" path="/login_check" methods="POST">
  16. <default key="_controller">SonataUserBundle:SecurityFOSUser1:check</default>
  17. </route>
  18. <route id="sonata_user_security_logout" path="/logout">
  19. <default key="_controller">SonataUserBundle:SecurityFOSUser1:logout</default>
  20. </route>
  21. </routes>