app/views/layouts/voluntary/ember_js.html.erb in voluntary-ember_js-0.0.2 vs app/views/layouts/voluntary/ember_js.html.erb in voluntary-ember_js-0.0.3
- old
+ new
@@ -59,9 +59,10 @@
#= javascript_include_tag *voluntary_ember_js_javascripts %>
-->
<%= javascript_include_tag *voluntary_ember_js_javascripts %>
<script type="text/javascript">
Volontariat.locale = '<%= I18n.locale.to_s %>';
+ moment.locale('<%= I18n.locale.to_s %>');
Volontariat.translations = <%= I18n.backend.send(:translations)[I18n.locale].to_json.html_safe %>;
</script>
<%= javascript_tag do %>
<%= yield :top_javascript %>
\ No newline at end of file