diff options
| author | Zog | 2018-02-07 09:23:20 +0100 |
|---|---|---|
| committer | Luc Donnet | 2018-02-09 13:56:54 +0100 |
| commit | ae36ee8a9270540cea2b0bea70b0f7c46a1818ef (patch) | |
| tree | 9be9b7d1f50fa5cd3c70772a4f1e3ae71daddbb3 /app/views/routes | |
| parent | c608e69bb3908de4c319689fa8232cff4a046b86 (diff) | |
| download | chouette-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.slim | 2 |
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' |
