Module: Cowtech::RubyOnRails::Models::Mongoid::Logging
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/cowtech/ruby_on_rails/models/mongoid/logging.rb
Instance Method Summary collapse
Instance Method Details
#delete(options = {}) ⇒ Object
19 20 21 22 |
# File 'app/models/cowtech/ruby_on_rails/models/mongoid/logging.rb', line 19 def delete( = {}) log_activity(:delete) super() end |
#restore ⇒ Object
24 25 26 27 |
# File 'app/models/cowtech/ruby_on_rails/models/mongoid/logging.rb', line 24 def restore log_activity(:restore) super end |