Skip to content

action_method.rst #8326

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 2 commits into from
Closed

action_method.rst #8326

wants to merge 2 commits into from

Conversation

atailouloute
Copy link
Contributor

On the form documentation How to Change the Action and Method of a Form, the examples "Standalone use" contain $this->generateUrlwhich does not make sense, since we are not inside a controller

I though also about replacing by ... since the important here is just to know how to change the action and not how to generate the route ..

@xabbuh xabbuh added this to the 2.7 milestone Sep 1, 2017
@xabbuh
Copy link
Member

xabbuh commented Sep 1, 2017

I think not using the Symfony URL generator at all would be a good idea indeed.

@atailouloute
Copy link
Contributor Author

@xabbuh I made the changes

@wouterj
Copy link
Member

wouterj commented Sep 3, 2017

Thanks for all your work Ahmed!

wouterj added a commit that referenced this pull request Sep 3, 2017
This PR was squashed before being merged into the 2.7 branch (closes #8326).

Discussion
----------

action_method.rst

On the form documentation [How to Change the Action and Method of a Form](https://symfony.com/doc/current/form/action_method.html), the examples "Standalone use" contain `$this->generateUrl`which does not make sense, since we are not inside a controller

I though also about replacing by `...` since the important here is just to know how to change the action and not how to generate the route ..

Commits
-------

656b865 action_method.rst
@wouterj wouterj closed this Sep 3, 2017
@atailouloute atailouloute deleted the patch-12 branch September 3, 2017 13:23
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.

4 participants