config/initializers/subscriptions.rb in ddr-models-2.6.0.rc1 vs config/initializers/subscriptions.rb in ddr-models-2.6.0.rc2

- old
+ new

@@ -11,12 +11,18 @@ # Creation ActiveSupport::Notifications.subscribe(Ddr::Notifications::CREATION, Ddr::Events::CreationEvent) # Update ActiveSupport::Notifications.subscribe(Ddr::Notifications::UPDATE, Ddr::Events::UpdateEvent) +ActiveSupport::Notifications.subscribe("assign.permanent_id", Ddr::Events::UpdateEvent) # Deletion ActiveSupport::Notifications.subscribe(Ddr::Notifications::DELETION, Ddr::Events::DeletionEvent) ActiveSupport::Notifications.subscribe(/destroy\.\w+/, Ddr::Events::DeletionEvent) +ActiveSupport::Notifications.subscribe(/destroy\.\w+/, Ddr::Models::PermanentId) # Deaccession ActiveSupport::Notifications.subscribe(/deaccession\.\w+/, Ddr::Events::DeaccessionEvent) +ActiveSupport::Notifications.subscribe(/deaccession\.\w+/, Ddr::Models::PermanentId) + +# Workflow +ActiveSupport::Notifications.subscribe(/workflow/, Ddr::Models::PermanentId)