admin_security.xml 760 B

123456789101112
  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="sonata_user_admin_security_login" path="/login">
  4. <default key="_controller">SonataUserBundle:AdminSecurity:login</default>
  5. </route>
  6. <route id="sonata_user_admin_security_check" path="/login_check" methods="POST">
  7. <default key="_controller">SonataUserBundle:AdminSecurity:check</default>
  8. </route>
  9. <route id="sonata_user_admin_security_logout" path="/logout">
  10. <default key="_controller">SonataUserBundle:AdminSecurity:logout</default>
  11. </route>
  12. </routes>