mirror of
https://github.com/rickbarrette/subtask_field_copier.git
synced 2026-10-03 20:20:43 -04:00
Add support for registering custom fields in Subtask Field Copier
This commit is contained in:
1 parent
fbd394bbc9
commit
7772526c8d
3 files changed
+33
-11
No files matched your search
@@ -10,6 +10,9 @@
|
||||
|
||||
module SubtaskFieldCopier
|
||||
|
||||
mattr_accessor :registered_fields
|
||||
self.registered_fields = []
|
||||
|
||||
def self.setup
|
||||
unless IssuesController.ancestors.include?(SubtaskFieldCopier::Patches::IssuesControllerPatch)
|
||||
IssuesController.prepend SubtaskFieldCopier::Patches::IssuesControllerPatch
|
||||
|
||||
Reference in new issue
Block a user