Remove invalid callback

:attachment_removed does not exist on `CostObject`.
pull/6827/head
Oliver Günther 9 years ago
parent cdb5b95313
commit 2a8cc7bdbc
  1. 3
      app/models/cost_object.rb

@ -29,8 +29,7 @@ class CostObject < ActiveRecord::Base
include ActiveModel::ForbiddenAttributesProtection include ActiveModel::ForbiddenAttributesProtection
acts_as_attachable after_remove: :attachment_removed acts_as_attachable
acts_as_journalized acts_as_journalized
acts_as_event type: 'cost-objects', acts_as_event type: 'cost-objects',

Loading…
Cancel
Save