FIX: Correct path to ImportExport module (#8227)

During the move from Classic autoloader to Zeitwerk import_export module was moved to correct file name convention.
427d54b2b0 (diff-d896ec33b95afb7fae9f8bfe73d0580b)

Problem is that export/import is still using old path to require that module

Meta: https://meta.discourse.org/t/topic-and-category-export-import/38930/40
This commit is contained in:
Krzysztof Kotlarek
2019-10-23 17:27:14 +11:00
committed by Sam
parent f69dacf979
commit f34a0141c7
3 changed files with 4 additions and 4 deletions

View File

@@ -264,7 +264,7 @@ class DiscourseCLI < Thor
end
def load_import_export
require File.expand_path(File.dirname(__FILE__) + "/../lib/import_export/import_export")
require File.expand_path(File.dirname(__FILE__) + "/../lib/import_export")
end
def do_remap(from, to, regex = false)