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

Best in place not working with RAILS API #601

Open vishalTatvaSoft opened 6 years ago

vishalTatvaSoft commented 6 years ago

Hello , my application is RAILS API only and i want to use best in place in active admin. But i think its not working because of RAILS API only, Any options are not working in like url , input: :textarea nothing. i included best in place module in active_admin.rb

module ActiveAdmin::ViewHelpers
  extend BestInPlace
end

But still its not working.

Which module i have to include for working options of best_in_place ? Can anybody help me to resolve this issue ?