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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy