bernat / best_in_place

A RESTful unobtrusive jQuery Inplace-Editor and a helper as a Rails Gem
http://blog.bernatfarrero.com/in-place-editing-with-javascript-jquery-and-rails-3/
1.2k stars 572 forks source link

send ajax request in 'application/js' format #595

Open divyadsharma opened 6 years ago

divyadsharma commented 6 years ago

I am using best in place gem and everything is working correct but it sends ajax call in json format I want it in javascript format(my app expects it to come in js format), I haven't found any thing in doc for this one. May I know how to do resolve this issue?