Skip to content

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Jul 30, 2013

Q A
Doc fix? no
New docs? yes
Applies to all
Fixed tickets #2560

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

Instead of using static values, you can also set the value to a service.
Whenever the global variabele is accessed in the template, the service will be
Copy link
Member

Choose a reason for hiding this comment

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

variable

weaverryan added a commit that referenced this pull request Aug 17, 2013
…services section per a suggestion by @stof, which I agree with (that parameters are more common to use as global Twig variables)
weaverryan added a commit that referenced this pull request Aug 17, 2013
…ut the services as global Twig variables
@weaverryan
Copy link
Member

Hi guys!

I patched this into the 2.2 branch at sha: 17ae545 with minor tweaks thanks to @stof and @xabbuh at sha: 493a135 and sha: e203c40.

Thanks everyone for participating on this!

@weaverryan weaverryan closed this Aug 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants