symfony-cmf/RoutingExtraBundle — pull request #71 by EmmanuelVella (2013-03-14 17:24:21+00:00)
Title: Move minimal route admin to top

Hi,

When clicking a route in the dashboard tree, we are redirected to the ``minimal route admin``.

This is because the ``minimal route admin`` is declared **after** the ``route admin``, and getAdminByClass() returns the last registered one for a given class (see https://github.com/sonata-project/SonataDoctrinePhpcrAdminBundle/blob/master/Tree/PhpcrOdmTree.php#L213)

This PR is not really a fix but a workaround, as it simply moves the ``minimal route admin`` up in the config file.