From d25c72faf7085ecb43b52e332d647ca7267cb575 Mon Sep 17 00:00:00 2001 From: ju Date: Wed, 9 Sep 2015 11:34:38 +0200 Subject: [PATCH] Update routing to expose bazinga_jstranslation_js This allows the bundle to be used in combination with the FOSJsRoutingBundle, and load translation via javascript / jQuery. --- Resources/config/routing/routing.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/Resources/config/routing/routing.yml b/Resources/config/routing/routing.yml index 69024640..9ef08ae9 100644 --- a/Resources/config/routing/routing.yml +++ b/Resources/config/routing/routing.yml @@ -4,6 +4,7 @@ bazinga_jstranslation_js: methods: [ GET ] options: i18n: false + expose: true requirements: _format: js|json domain: "[\w]+"