Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
use controller as a service
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectricMaxxx committed Apr 27, 2017
1 parent 16a9dc2 commit ab657fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/config/routing/tree.xml
@@ -1,9 +1,9 @@
<?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="sonata_admin_tree" path="/tree">
<default key="_controller">SonataDoctrinePHPCRAdminBundle:Tree:tree</default>
<default key="_controller">sonata.admin.doctrine_phpcr.tree_controller:treeAction</default>
</route>
<route id="sonata_admin_tree_reorder" path="/tree/reorder">
<default key="_controller">SonataDoctrinePHPCRAdminBundle:Tree:reorder</default>
<default key="_controller">sonata.admin.doctrine_phpcr.tree_controller:reorderAction</default>
</route>
</routes>

0 comments on commit ab657fc

Please sign in to comment.