about summary refs log tree commit diff stats
path: root/app/assets/javascripts/admin/dashboard.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/admin/dashboard.coffee')
-rw-r--r--app/assets/javascripts/admin/dashboard.coffee5
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/
4dash_ready = ->
5 $(".datepicker").datepicker({"dateFormat": "yy-mm-dd"})
6
7$(document).ready(dash_ready)
8$(document).on('turbolinks:load', dash_ready)