Actions
Bug #1817
closedDelete zeitwerk conflict
Start date:
Due date:
% Done:
100%
Estimated time:
Affected Version:
Compatible Redmine Version:
Pull Request Link:
Description
# Do not require overrides when deface has precompiled views
unless Rails.application.try(:config).try(:deface).try(:enabled) == false <-- This line enables zeitwerk for overrides!
Dir.glob(Rails.root.join('plugins/*/app/overrides/**/*.rb').to_s).each do |path|
Rails.autoloaders.main.ignore(path)
load File.expand_path(path, __FILE__)
end
Updated by liaham over 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Actions