pass locale to datepicker, use gem for that

This commit is contained in:
wvengen 2013-07-07 01:47:22 +02:00
parent 76645ebd12
commit 8080cd6b7e
8 changed files with 12 additions and 840 deletions

View file

@ -22,5 +22,7 @@
Javascripts
\==================================================
/ Placed at the end of the document so the pages load faster
:javascript
I18n = {locale: '#{I18n.locale}'}
= javascript_include_tag "application"
= yield(:javascript)