Method: Anoubis::Data::Callbacks#destroy_data
- Defined in:
- app/controllers/anoubis/data/callbacks.rb
#destroy_data ⇒ Object
Fires when data is destroyed
58 59 60 61 62 63 |
# File 'app/controllers/anoubis/data/callbacks.rb', line 58 def destroy_data if !self.etc.data.data.destroy self.output.errors.concat self.etc.data.data.errors. self.output.result = -4 end end |