Skip to content

Update routing.rst #4586

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

Closed
wants to merge 1 commit into from
Closed

Update routing.rst #4586

wants to merge 1 commit into from

Conversation

guangle
Copy link
Contributor

@guangle guangle commented Dec 4, 2014

add route name "blog_show" in first example

add route name "blog_show" in first example
@@ -45,7 +45,7 @@ The route is simple:
class BlogController extends Controller
{
/**
* @Route("/blog/{slug}")
* @Route("/blog/{slug}" name="blog_show ")
Copy link
Member

Choose a reason for hiding this comment

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

There is a trailing space in the route name.

Copy link
Member

Choose a reason for hiding this comment

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

and the comma between the two arguments are missing.

@xabbuh
Copy link
Member

xabbuh commented Jan 2, 2015

@guangle I wish you a happy new year! :) Will you be able to update the pull request?

@wouterj
Copy link
Member

wouterj commented Feb 20, 2015

Thank you for starting this @guangle. I've moved this commit to a new PR and fixed the 2 minor comments: #5030

@wouterj wouterj closed this Feb 20, 2015
weaverryan added a commit that referenced this pull request Mar 14, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Finish #4586: Update routing.rst

Finished #4586

Original PR description:

 > add route name "blog_show" in first example

| Q | A
| --- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | all
| Fixed tickets | -

Commits
-------

c75455f Update routing.rst
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.

3 participants