1
0
Fork 0
forked from deblan/gist
This commit is contained in:
Simon Vieille 2015-05-07 00:59:33 +02:00
parent e07371b6fb
commit 461c2d390c

View file

@ -42,10 +42,10 @@
</li>
</ul>
<p class="navbar-text navbar-right">
<a class="btn btn-xs" href="{{ path('home', {_locale: 'en'}) }}">
<a class="btn btn-xs" href="{{ path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')|merge({_locale: 'en'})) }}">
<span class="flag-icon flag-icon-gb"></span>
</a>
<a class="btn btn-xs" href="{{ path('home', {_locale: 'fr'}) }}">
<a class="btn btn-xs" href="{{ path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')|merge({_locale: 'fr'})) }}">
<span class="flag-icon flag-icon-fr"></span>
</a>
</p>