You can set the content-type with:
= form_for(@object, :remote => true, :html => {:'data-type' => 'json'})
As described in rails.js line 106.
You can set the content-type with:
= form_for(@object, :remote => true, :html => {:'data-type' => 'json'})
As described in rails.js line 106.