Skip to content

Instantly share code, notes, and snippets.

@ewgRa
Last active August 29, 2015 13:56
Show Gist options
  • Save ewgRa/abbaac259c750d92e8a5 to your computer and use it in GitHub Desktop.
Save ewgRa/abbaac259c750d92e8a5 to your computer and use it in GitHub Desktop.
_templateFromRoutingWithAnnotation:
pattern: /templateFromRoutingWithAnnotation
defaults: { name: Ewgra, _controller: AcmeDemoBundle:Demo:hello, _template: AcmeDemoBundle:Demo:helloFromRoute.html.twig }
_trueTemplateFromRoutingWithAnnotation:
pattern: /trueTemplateFromRoutingWithAnnotation
defaults: { name: Ewgra, _controller: AcmeDemoBundle:Demo:hello, _template: true }
_noTemplateFromRoutingWithAnnotation:
pattern: /noTemplateFromRoutingWithAnnotation
defaults: { name: Ewgra, _controller: AcmeDemoBundle:Demo:hello }
_templateFromRoutingWithoutAnnotation:
pattern: /templateFromRoutingWithoutAnnotation
defaults: { name: Ewgra, _controller: AcmeDemoBundle:Demo:helloWithoutAnnotation, _template: AcmeDemoBundle:Demo:helloFromRoute.html.twig }
_noTemplateFromRoutingWithoutAnnotation:
pattern: /noTemplateFromRoutingWithoutAnnotation
defaults: { name: Ewgra, _controller: AcmeDemoBundle:Demo:helloWithoutAnnotation }
_trueTemplateFromRoutingWithoutAnnotation:
pattern: /trueTemplateFromRoutingWithoutAnnotation
defaults: { name: Ewgra, _controller: AcmeDemoBundle:Demo:helloWithoutAnnotation, _template: true }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment