Permalink
Browse files

minor #3758 [Book][Routing] Fixed typo on PHP version of a route defi…

…nition (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
  • Loading branch information...
weaverryan committed Apr 7, 2014
2 parents 6bd134c + b29abca commit cfd6d7c1f07ac80e557fb9eb358256a319acc8b9
Showing with 1 addition and 1 deletion.
  1. +1 −1 book/routing.rst
View
@@ -778,7 +778,7 @@ routing system can be:
$collection = new RouteCollection();
$collection->add(
'homepage',
'article_show',
new Route('/articles/{culture}/{year}/{title}.{_format}', array(
'_controller' => 'AcmeDemoBundle:Article:show',
'_format' => 'html',

0 comments on commit cfd6d7c

Please sign in to comment.