app/assets/javascripts/admin.js
// This is a manifest file that'll be compiled into admin.js, which will include all the files
// listed below.
//
//= require_tree ./admin
var ready = function () {
Admin.setup();
};
// Turbolinks workaround
$(document).ready(ready)
$(document).on('page:load', ready)