Skip to content

Commit b52ba7c

Browse files
committed
minor #6933 Misplaced paragraph about placeholders in routing.rst (antoin-m)
This PR was merged into the 2.7 branch. Discussion ---------- Misplaced paragraph about placeholders in routing.rst It looks that this paragraph was only a misplaced duplicate of [this block](https://github.com/symfony/symfony-docs/blame/c72dde0a8e90ec9fb90b31e472b2c1e0fac35a37/routing.rst#L259-L262) As you can see on [this commit](6e48cee?short_path=51326f5#diff-3b3b9409bff44f4b31ba1f933dbf0001L338) the paragraph was originally added to the [Giving {placeholders} a Default Value](https://github.com/symfony/symfony-docs/blob/2.7/routing.rst#giving-placeholders-a-default-value) part. Commits ------- 6dcf85a Update routing.rst
2 parents 0e118ff + 6dcf85a commit b52ba7c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

routing.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -591,10 +591,6 @@ sees our annotation routes:
591591
For more details on loading routes, including how to prefix the paths of loaded routes,
592592
see :doc:`/routing/external_resources`.
593593

594-
The path will *not*, however, match simply ``/blog``. That's because,
595-
by default, all placeholders are required. This can be changed by adding
596-
a placeholder value to the ``defaults`` array.
597-
598594
.. index::
599595
single: Routing; Generating URLs
600596

0 commit comments

Comments
 (0)