Skip to content

Commit

Permalink
minor #3758 [Book][Routing] Fixed typo on PHP version of a route defi…
Browse files Browse the repository at this point in the history
…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 cfd6d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit cfd6d7c

Please sign in to comment.