Commit f662ba3f authored by Fabien Potencier's avatar Fabien Potencier

merged branch umpirsky/patch-1 (PR #547)

This PR was merged into the master branch.

Commits
-------

3c226283 Linked "How to make sub-requests" in usage doc

Discussion
----------

Linked "How to make sub-requests" in usage doc

Fixes #546.

---------------------------------------------------------------------------

by igorw at 2012-11-18T18:03:25Z

The example also needs to be fixed to pass the cookie and server bags.
parents 7c32dbc2 3c226283
......@@ -531,6 +531,11 @@ round-trip to the browser (as for a redirect), use an internal sub-request::
$request = Request::create($app['url_generator']->generate('hello'), 'GET');
There's some more things that you need to keep in mind though. In most cases you
will want to forward some parts of the current master request to the sub-request.
That includes: Cookies, server information, session.
Read more on :doc:`how to make sub-requests <cookbook/sub_requests>`.
JSON
----
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment