Skip to content

Improved a routing example to show annotations #9241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Updated the section title
  • Loading branch information
javiereguiluz committed Feb 11, 2018
commit f9ce3977d7fac4a1696be7564aff001a745a8dbf
6 changes: 4 additions & 2 deletions routing/external_resources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,10 @@ in that directory are parsed and put into the routing.

return $collection;

Prefixing Imported Routes
~~~~~~~~~~~~~~~~~~~~~~~~~
.. _prefixing-imported-routes:

Prefixing the URLs of Imported Routes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can also choose to provide a "prefix" for the imported routes. For example,
suppose you want to prefix all routes in the AppBundle with ``/site`` (e.g.
Expand Down