Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Routes in the Getting Started documentation #5262

Merged
merged 2 commits into from
May 16, 2015
Merged

Conversation

BT643
Copy link
Contributor

@BT643 BT643 commented May 16, 2015

The @routes in the "Actions and Controllers" and "Routes" sections of the Getting Started documentation are outdated it seems.

I have just created a new project and it wasn't quite right. Of course you can still make sense of it but needs correcting.

The @routes in the  "Actions and Controllers" and "Routes" sections of the Getting Started documentation are outdated it seems.

I have just created a new project and it wasn't quite right. Of course you can still make sense of it but needs correcting.
@wouterj
Copy link
Member

wouterj commented May 16, 2015

Thanks for the perfect PR, @BT643. Congratz with your first Symfony contribution! :)

@wouterj wouterj merged commit 7d52ec8 into symfony:2.3 May 16, 2015
wouterj added a commit that referenced this pull request May 16, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Update Routes in the Getting Started documentation

The @routes in the  "Actions and Controllers" and "Routes" sections of the Getting Started documentation are outdated it seems.

I have just created a new project and it wasn't quite right. Of course you can still make sense of it but needs correcting.

Commits
-------

7d52ec8 Update the_big_picture.rst
b1e3b31 Update Routes in the Getting Started documentation
wouterj added a commit that referenced this pull request May 16, 2015
@BT643 BT643 deleted the patch-1 branch May 29, 2015 19:00
@@ -219,7 +219,7 @@ 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("/", name="homepage")`` annotation creates
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not consistent anymore with the route definition

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see 4127197

javiereguiluz pushed a commit to javiereguiluz/symfony-docs that referenced this pull request Sep 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants