Skip to content

Commit b9dc750

Browse files
committed
Apply redmine_base_deface init.rb changes
1 parent 4d0c3ee commit b9dc750

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

init.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
end
2727

2828
if Rails.version > '6.0' && Rails.autoloaders.zeitwerk_enabled?
29-
require_relative 'app/overrides/issues/show'
29+
Dir.glob("#{Rails.root}/plugins/redmine_custom_fields_groups/app/overrides/**/*.rb").each do |path|
30+
Rails.autoloaders.main.ignore(path)
31+
load File.expand_path(path, __FILE__)
32+
end
3033
Rails.application.config.after_initialize do
3134
RedmineCustomFieldsGroups.setup
3235
end

0 commit comments

Comments
 (0)