Skip to content

Commit

Permalink
[symfony#5262] Fixed the final occurence of /
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj authored and javiereguiluz committed Sep 2, 2015
1 parent 071ec9a commit 3e6a8db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions quick_tour/the_big_picture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,10 @@ the application homepage. The second value of ``@Route()`` (e.g.
``name="homepage"``) is optional and sets the name of this route. For now
this name is not needed, but later it'll be useful for linking pages.

Considering all this, the ``@Route("/app/example", name="homepage")`` annotation creates
a new route called ``homepage`` which makes Symfony execute the ``index``
action of the ``Default`` controller when the user browses the ``/`` path
of the application.
Considering all this, the ``@Route("/app/example", name="homepage")`` annotation
creates a new route called ``homepage`` which makes Symfony execute the
``index`` action of the ``Default`` controller when the user browses the
``/app/example`` path of the application.

.. tip::

Expand Down

0 comments on commit 3e6a8db

Please sign in to comment.