aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/routes
diff options
context:
space:
mode:
authorZog2018-02-07 09:23:20 +0100
committerLuc Donnet2018-02-09 13:56:54 +0100
commitae36ee8a9270540cea2b0bea70b0f7c46a1818ef (patch)
tree9be9b7d1f50fa5cd3c70772a4f1e3ae71daddbb3 /app/views/routes
parentc608e69bb3908de4c319689fa8232cff4a046b86 (diff)
downloadchouette-core-ae36ee8a9270540cea2b0bea70b0f7c46a1818ef.tar.bz2
Refs #4126 @6h; Add i18n to JS
Diffstat (limited to 'app/views/routes')
-rw-r--r--app/views/routes/_form.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/routes/_form.html.slim b/app/views/routes/_form.html.slim
index 29e5be3d2..81f719437 100644
--- a/app/views/routes/_form.html.slim
+++ b/app/views/routes/_form.html.slim
@@ -27,7 +27,7 @@
// Get JSON data for route stop points
= javascript_tag do
| window.itinerary_stop = "#{URI.escape(route_json_for_edit(@route))}";
- | window.I18n = #{(I18n.backend.send(:translations)[I18n.locale].to_json).html_safe};
+ // | window.I18n = #{(I18n.backend.send(:translations)[I18n.locale].to_json).html_safe};
/ StopPoints Reactux component
= javascript_pack_tag 'routes/edit.js'