Skip to content

Commit

Permalink
minor #5198 Link twig constant function (davidfuhr)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

Link twig constant function

The link was already created but must have been lost in some update.

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | none

Commits
-------

7fb47bf Link twig constant function
  • Loading branch information
wouterj committed Apr 26, 2015
2 parents 99e2034 + 7fb47bf commit 8b25e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion best_practices/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ everywhere in your application. When using parameters, they are only available
from places with access to the Symfony container.

Constants can be used for example in your Twig templates thanks to the
``constant()`` function:
`constant() function`_:

.. code-block:: html+jinja

Expand Down

0 comments on commit 8b25e6e

Please sign in to comment.