summaryrefslogtreecommitdiffstats
path: root/templates/ui/tripleo_ui_config.js.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ui/tripleo_ui_config.js.erb')
-rw-r--r--templates/ui/tripleo_ui_config.js.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/ui/tripleo_ui_config.js.erb b/templates/ui/tripleo_ui_config.js.erb
index c984cc3..f179637 100644
--- a/templates/ui/tripleo_ui_config.js.erb
+++ b/templates/ui/tripleo_ui_config.js.erb
@@ -18,7 +18,7 @@ window.tripleOUiConfig = {
// If you choose more than one language, a language switcher will appear in
// the navigation bar.
// Only 'en' (English) is enabled by default.
- 'languages': ['<%= @enabled_languages.join("', '") %>'],
+ 'languages': <%= @enabled_languages.to_json %>,
// Logging
// 'loggers': ['console']