templates/initializer.js in eyeballs-0.5.12.1 vs templates/initializer.js in eyeballs-0.5.13
- old
+ new
@@ -2,9 +2,10 @@
// For example, choosing your adapter
<% if rack_app? %>
o_O.model.adapter = o_O.rest;
o_O.config.authenticity_token = $('meta[name=csrf-token]').attr('content')
o_O.config.template_path = '/javascripts/app/views';
+o_O.config.include_json_root = true;
jQuery.ajaxSetup({
'beforeSend': function(xhr) {xhr.setRequestHeader("Accept",
"text/javascript")}
})
\ No newline at end of file