Skip to content

Commit cfd6d7c

Browse files
committed
minor symfony#3758 [Book][Routing] Fixed typo on PHP version of a route definition (saro0h)
This PR was merged into the 2.3 branch. Discussion ---------- [Book][Routing] Fixed typo on PHP version of a route definition | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all (or 2.3+) | Fixed tickets | - On http://symfony.com/doc/master/book/routing.html#advanced-routing-example, the PHP version has a wrong route name. Commits ------- b29abca [Book][Routing] Fixed typo on PHP version of a route definition
2 parents 6bd134c + b29abca commit cfd6d7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/routing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ routing system can be:
778778
779779
$collection = new RouteCollection();
780780
$collection->add(
781-
'homepage',
781+
'article_show',
782782
new Route('/articles/{culture}/{year}/{title}.{_format}', array(
783783
'_controller' => 'AcmeDemoBundle:Article:show',
784784
'_format' => 'html',

0 commit comments

Comments
 (0)