From a401f4bea44bb7fefe212c4bd5fbbd826639961a Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Mon, 8 Feb 2021 16:51:49 -0600 Subject: [PATCH] Correct a tense bug in app/models/tag_master.rb --- app/models/tag_master.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/tag_master.rb b/app/models/tag_master.rb index 178e64cc..b5ba4d3f 100644 --- a/app/models/tag_master.rb +++ b/app/models/tag_master.rb @@ -10,7 +10,7 @@ class TagMaster < ApplicationRecord # TODO replace with Discard gem define_model_callbacks :discard - after_discard :publish_delete + after_discard :publish_deleted # :nonprofit, :nonprofit_id, # :name, @@ -55,7 +55,7 @@ private Houdini.event_publisher.announce(:tag_definition_created, to_event('tag_definition.created', :nonprofit).attributes!) end - def publish_delete + def publish_deleted Houdini.event_publisher.announce(:tag_definition_deleted, to_event('tag_definition.deleted', :nonprofit).attributes!) end end