Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

added some docs on template override

  • Loading branch information...
commit eafc6ee673ab4d90f8e411f388151083f80af2ac 1 parent 0ad742b
@lsmith77 lsmith77 authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 Resources/doc/
10 Resources/doc/
@@ -102,4 +102,12 @@ The route actor will then generate the routes to your custom route with the _loc
It's also possible to add additional parameters/attributes that can be used for route generation:
``` html
{{ locale_switcher('my_route', {'parameter1':'value1'}) }}
+### 3.4 Custom template
+It is also possible to override the default template used in the switcher by passing an optional third parameter:
+ ``` html
+{{ locale_switcher(null, null, 'AcmeDemoBundle:Foo:bar.html.twig') }}

0 comments on commit eafc6ee

Please sign in to comment.
Something went wrong with that request. Please try again.