Skip to content

Commit 8bcd778

Browse files
committed
pass the locale to the create controller
1 parent 3fd6e7e commit 8bcd778

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Acme/MainBundle/Resources/views/layout.html.twig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@
7070
</div>
7171
</div>
7272
</div>
73-
{% render controller("cmf_create.jsloader.controller:includeJSFilesAction") %}
73+
74+
{% render controller("cmf_create.jsloader.controller:includeJSFilesAction", {'_locale': app.request.locale}) %}
75+
7476
</body>
7577
</html>
7678

0 commit comments

Comments
 (0)