diff options
Diffstat (limited to 'app/views/time_tables/edit.html.slim')
| -rw-r--r-- | app/views/time_tables/edit.html.slim | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/time_tables/edit.html.slim b/app/views/time_tables/edit.html.slim index f129cd63a..ed55dc4e3 100644 --- a/app/views/time_tables/edit.html.slim +++ b/app/views/time_tables/edit.html.slim @@ -1,5 +1,5 @@  / PageHeader -= pageheader 'map-marker', += pageheader 'calendrier-application',               @time_table.comment,               '',               '' @@ -10,6 +10,7 @@      #periods  = javascript_tag do -  | window.actionType = "#{raw params[:action]}" +  | window.actionType = "#{raw params[:action]}"; +  | window.I18n = #{(I18n.backend.send(:translations).to_json).html_safe};  = javascript_include_tag 'es6_browserified/time_tables/index.js'  | 
