Module: ActiveScaffold::Bridges::PaperTrail::PaperTrailBridge

Defined in:
lib/active_scaffold/bridges/paper_trail/paper_trail_bridge.rb

Instance Method Summary collapse

Instance Method Details

#initialize(model_id) ⇒ Object



5
6
7
8
9
# File 'lib/active_scaffold/bridges/paper_trail/paper_trail_bridge.rb', line 5

def initialize(model_id)
  super
  return unless model < ::PaperTrail::Model::InstanceMethods
  actions << :deleted_records
end