Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Commit

Permalink
bug #543 fix order in which route loaders are tried (dmaicher)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.0 branch.

Discussion
----------

fix order in which route loaders are tried

Backport of #537 to fix symfony/symfony#25436

Commits
-------

caacb5e fix order in which route loaders are tried
  • Loading branch information
fabpot committed Dec 14, 2017
2 parents 65eadf9 + caacb5e commit bb90723
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Resources/config/routing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
</parameters>

<services>
<service id="sensio_framework_extra.routing.loader.annot_class" class="%sensio_framework_extra.routing.loader.annot_class.class%" public="false">
<tag name="routing.loader" />
<argument type="service" id="annotation_reader" />
</service>

<service id="sensio_framework_extra.routing.loader.annot_dir" class="%sensio_framework_extra.routing.loader.annot_dir.class%" public="false">
<tag name="routing.loader" />
<argument type="service" id="file_locator" />
Expand All @@ -22,10 +27,5 @@
<argument type="service" id="file_locator" />
<argument type="service" id="sensio_framework_extra.routing.loader.annot_class" />
</service>

<service id="sensio_framework_extra.routing.loader.annot_class" class="%sensio_framework_extra.routing.loader.annot_class.class%" public="false">
<tag name="routing.loader" />
<argument type="service" id="annotation_reader" />
</service>
</services>
</container>

0 comments on commit bb90723

Please sign in to comment.