Module: BestInPlace::ControllerExtensions
- Defined in:
- lib/best_in_place/controller_extensions.rb
Instance Method Summary collapse
Instance Method Details
#respond_with_bip(obj, options = {}) ⇒ Object
3 4 5 |
# File 'lib/best_in_place/controller_extensions.rb', line 3 def respond_with_bip(obj, = {}) obj.errors.any? ? respond_bip_error(obj) : respond_bip_ok(obj, ) end |