Project

General

Profile

Actions

Bug #1817

closed

Delete zeitwerk conflict

Added by liaham over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Affected Version:
Compatible Redmine Version:

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
Actions #1

Updated by liaham over 1 year ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF