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

How do differ best_in_place xhr request from othes? #625

Closed mykyta-uzlov closed 4 years ago

mykyta-uzlov commented 4 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?