From 47d1a92f91250c3308223a33c5f53fad36456bb8 Mon Sep 17 00:00:00 2001 From: cat_in_136 Date: Mon, 30 Dec 2024 22:48:43 +0900 Subject: [PATCH] support for redmine6 --- lib/redmine_slack/issue_patch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine_slack/issue_patch.rb b/lib/redmine_slack/issue_patch.rb index 1c9d73b..8f2b4a7 100644 --- a/lib/redmine_slack/issue_patch.rb +++ b/lib/redmine_slack/issue_patch.rb @@ -5,7 +5,7 @@ def self.included(base) # :nodoc: base.send(:include, InstanceMethods) base.class_eval do - unloadable # Send unloadable so it will not be unloaded in development + unloadable if respond_to?(:unloadable) # Send unloadable so it will not be unloaded in development after_create :create_from_issue after_save :save_from_issue end