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

Use new path() and url() helper in PHP templates #5814

Closed
xabbuh opened this issue Oct 20, 2015 · 0 comments
Closed

Use new path() and url() helper in PHP templates #5814

xabbuh opened this issue Oct 20, 2015 · 0 comments
Labels
actionable Clear and specific issues ready for anyone to take them. hasPR A Pull Request has already been submitted for this issue. Routing Templating
Milestone

Comments

@xabbuh
Copy link
Member

xabbuh commented Oct 20, 2015

Symfony 2.8 introduces two new helpers path() and url() (see symfony/symfony#16276) which work the same as corresponding Twig functions. These new helpers should be used in favour of the deprecated generate() helper.
#5813 should probably be merged before to avoid having a mess when rebasing.

@xabbuh xabbuh added this to the 2.8 milestone Oct 20, 2015
@weaverryan weaverryan added actionable Clear and specific issues ready for anyone to take them. and removed On hold labels Nov 27, 2015
@xabbuh xabbuh added the hasPR A Pull Request has already been submitted for this issue. label Nov 29, 2015
weaverryan added a commit that referenced this issue Nov 30, 2015
This PR was merged into the 2.8 branch.

Discussion
----------

Use path() and url() PHP templating helpers

| Q | A
| --- | ---
| Doc fix? | no
| New docs? | yes (symfony/symfony#16276)
| Applies to | 2.8+
| Fixed tickets | #5814

Commits
-------

a4ad744 Use path() and url() PHP templating helpers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actionable Clear and specific issues ready for anyone to take them. hasPR A Pull Request has already been submitted for this issue. Routing Templating
Projects
None yet
Development

No branches or pull requests

2 participants