Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
8a23a5b4
Commit
8a23a5b4
authored
May 03, 2016
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.3'
* 1.3: tweaked previous merge [WIP] Mention use of controller() function in docs
parents
f6600b62
bd7891f8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
doc/providers/twig.rst
doc/providers/twig.rst
+9
-0
No files found.
doc/providers/twig.rst
View file @
8a23a5b4
...
@@ -145,6 +145,13 @@ is registered):
...
@@ -145,6 +145,13 @@ is registered):
{{ render(url('sidebar')) }}
{{ render(url('sidebar')) }}
{# or you can reference a controller directly without defining a route for it #}
{{ render(controller(controller)) }}
.. note::
Read the Twig reference_ for Symfony document to learn more about the various Twig functions
Traits
Traits
------
------
...
@@ -184,3 +191,5 @@ You can configure the Twig environment before using it by extending the
...
@@ -184,3 +191,5 @@ You can configure the Twig environment before using it by extending the
For more information, check out the `official Twig documentation
For more information, check out the `official Twig documentation
<http://twig.sensiolabs.org>`_.
<http://twig.sensiolabs.org>`_.
.. reference_:: https://symfony.com/doc/current/reference/twig_reference.html#controller
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment