Skip to content

Fixed link syntax #3254

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

Merged
merged 1 commit into from
Dec 1, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions cookbook/form/direct_submit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ How to use the submit() Function to handle Form Submissions
===========================================================

.. versionadded:: 2.3
The ``handleRequest()`` method was added in Symfony 2.3.
The :method:`Symfony\\Component\\Form\\FormInterface::handleRequest`
method was added in Symfony 2.3.
Copy link
Contributor

Choose a reason for hiding this comment

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

introduced


In Symfony 2.3, a new :method:`Symfony\Component\Form\FormInterface::handleRequest`
method was added, which makes handling form submissions easier than ever::
With the ``handleRequest()`` method, it is really easy to handle form
Copy link
Contributor

Choose a reason for hiding this comment

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

why here we don't use what we said above? :method:``...

Copy link
Member Author

Choose a reason for hiding this comment

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

I always use the api link once in an article.

Copy link
Contributor

Choose a reason for hiding this comment

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

so you are saying that using it once is enough and then the compiler software uses it from then on? is that how it works? thanks for filing gaps

Copy link
Member Author

Choose a reason for hiding this comment

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

no. I say that using it once for the user is enough... :)

Copy link
Contributor

Choose a reason for hiding this comment

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

i am lost, i hope you will be in Warsaw so you can explain me more clear the usage

Copy link
Member Author

Choose a reason for hiding this comment

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

It does nothing magic. It just shows the link where you tell it to show the link.

I think it's useless to convert every notion of an API method into an api url, one link is enough for the user to know where it can read more about the method.

Copy link
Contributor

Choose a reason for hiding this comment

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

i get it now, thanks for the clear explanation 👶

submissions::

use Symfony\Component\HttpFoundation\Request;
// ...
Expand Down