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

[book] Misc. routing fixes #3736

Merged
merged 4 commits into from
Apr 2, 2014
Merged

[book] Misc. routing fixes #3736

merged 4 commits into from
Apr 2, 2014

Conversation

javiereguiluz
Copy link
Member

Q A
Doc fix? yes
New docs? no
Applies to 2.3+
Fixed tickets -

instead of the British bi-directional
Previously, the code used the generate() method of the service and
the note explained the generateUrl() method of the base controller.
Then, the example was updated to use the generateUrl(), but the
note kept explaining the generateUrl(). This change is just about
explaining in the note the alterantive generate() method of the service.
@@ -1168,12 +1168,15 @@ route. With this information, any URL can easily be generated::

.. note::

In controllers that extend Symfony's base
In controllers that don't extend Symfony's base
Copy link
Member

Choose a reason for hiding this comment

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

How do you call the get() method of FrameBundle's Controller if your controller doesn't extend it?

@javiereguiluz
Copy link
Member Author

@xabbuh thanks for your review! I've fixed the sample code and reworded the paragraph.

weaverryan added a commit that referenced this pull request Apr 2, 2014
This PR was merged into the 2.3 branch.

Discussion
----------

[book] Misc. routing fixes

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

Commits
-------

7500435 [book] [routing] minor rewording and fixed some sample code
26f9e3b [book] [routing] fixed a note that wasn't properly updated
355cd5b [book] [routing] reworded the note about generating URLs in console
da8b46f [book] [routing] used the American term "bidirectional" instead of the British bi-directional
@weaverryan weaverryan merged commit 7500435 into symfony:2.3 Apr 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants