PHRAS-1162_js-err-prod

fix : js error in prod template when  not(app.debug)
#time 1h
This commit is contained in:
Jean-Yves Gaulier
2016-06-16 12:00:57 +02:00
parent 6e303289aa
commit 0a0136ee20

View File

@@ -99,7 +99,7 @@
moduleId: 1,
userId: {{app.getAuthenticatedUser().getId()}}
},
debug: {{ app.debug }},
debug: {% if app.debug %}true{% else %}false{% endif %},
initialState: "{{ initialAppState }}",
geonameServerUrl: '{{ app['geonames.server-uri'] }}',
geocodingProviders: {{ geocodingProviders|json_encode()|raw}},