Fix custom fields

This commit is contained in:
Alexander Meindl
2019-12-26 18:25:19 +01:00
parent 9be229f1c4
commit 7cba13f8cd
6 changed files with 18 additions and 13 deletions

View File

@@ -4,8 +4,8 @@ module RedmineMessenger
def self.included(base)
base.send(:include, InstanceMethods)
base.class_eval do
after_create :send_messenger_create
after_update :send_messenger_update
after_create_commit :send_messenger_create
after_update_commit :send_messenger_update
end
end

View File

@@ -4,8 +4,8 @@ module RedmineMessenger
def self.included(base)
base.send(:include, InstanceMethods)
base.class_eval do
after_create :send_messenger_create
after_update :send_messenger_update
after_create_commit :send_messenger_create
after_update_commit :send_messenger_update
end
end

View File

@@ -4,8 +4,8 @@ module RedmineMessenger
def self.included(base)
base.send(:include, InstanceMethods)
base.class_eval do
after_create :send_messenger_create
after_update :send_messenger_update
after_create_commit :send_messenger_create
after_update_commit :send_messenger_update
end
end

View File

@@ -4,8 +4,8 @@ module RedmineMessenger
def self.included(base)
base.send(:include, InstanceMethods)
base.class_eval do
after_create :send_messenger_create
after_update :send_messenger_update
after_create_commit :send_messenger_create
after_update_commit :send_messenger_update
end
end

View File

@@ -4,8 +4,8 @@ module RedmineMessenger
def self.included(base)
base.send(:include, InstanceMethods)
base.class_eval do
after_create :send_messenger_create
after_update :send_messenger_update
after_create_commit :send_messenger_create
after_update_commit :send_messenger_update
end
end