diff options
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/admin/dashboard.coffee | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/admin/dashboard.coffee b/app/assets/javascripts/admin/dashboard.coffee index 24f83d1..4fa6cd8 100644 --- a/app/assets/javascripts/admin/dashboard.coffee +++ b/app/assets/javascripts/admin/dashboard.coffee | |||
@@ -1,3 +1,8 @@ | |||
1 | # Place all the behaviors and hooks related to the matching controller here. | 1 | # Place all the behaviors and hooks related to the matching controller here. |
2 | # All this logic will automatically be available in application.js. | 2 | # All this logic will automatically be available in application.js. |
3 | # You can use CoffeeScript in this file: http://coffeescript.org/ | 3 | # You can use CoffeeScript in this file: http://coffeescript.org/ |
4 | dash_ready = -> | ||
5 | $(".datepicker").datepicker({"dateFormat": "yy-mm-dd"}) | ||
6 | |||
7 | $(document).ready(dash_ready) | ||
8 | $(document).on('turbolinks:load', dash_ready) | ||