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 573 forks source link

How do differ best_in_place xhr request from othes? #625

Closed mykyta-uzlov closed 3 years ago

mykyta-uzlov commented 3 years ago

If my controller's method #update is used by other's not only best_in_place fields, how can I differ them in controller to manage different logic?