diff --git a/lib/redmine_dmsf/patches/issue_patch.rb b/lib/redmine_dmsf/patches/issue_patch.rb index 6408b3e8..0f8960f4 100644 --- a/lib/redmine_dmsf/patches/issue_patch.rb +++ b/lib/redmine_dmsf/patches/issue_patch.rb @@ -26,7 +26,7 @@ module RedmineDmsf ################################################################################################################## # New methods - def self.included(base) + def self.prepended(base) base.class_eval do before_destroy :delete_system_folder, prepend: true end