Created
June 25, 2012 17:02
-
-
Save irwinv/2989889 to your computer and use it in GitHub Desktop.
Recuperer un pattern depuis twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...Coté routing | |
TestBundle_testroute: | |
pattern: /{name} | |
defaults: { _controller: TestBundle:Default:test, name: defaultname | |
...Coté twig | |
{{ app.request.get('name') }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment