We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6ccb44 commit 34da94eCopy full SHA for 34da94e
book/templating.rst
@@ -677,13 +677,15 @@ Asynchronous Content with hinclude.js
677
678
Controllers can be embedded asynchronously using the hinclude.js_ javascript library.
679
As the embedded content comes from another page (or controller for that matter),
680
-Symfony2 uses the standard ``render`` helper to configure ``hinclude`` tags:
+Symfony2 uses a version of the standard ``render`` function to configure ``hinclude``
681
+tags:
682
683
.. configuration-block::
684
685
.. code-block:: jinja
686
- {% render url('...') with {}, {'standalone': 'js'} %}
687
+ {{ render_hinclude(controller('...')) %}
688
+ {{ render_hinclude(url('...')) %}
689
690
.. code-block:: php
691
0 commit comments