fix app/lib path for loading yml

introduced by d595ae8117
new_user
JuliusR 12 months ago
parent dbe260e4fe
commit 90be4c513d
  1. 2
      app/lib/article_import/dnb_xml.rb

@ -60,7 +60,7 @@ module ArticleImport::DnbXml
@@codes = Hash.new
def self.load_codes
dir = Rails.root.join("lib", "article_import")
dir = Rails.root.join("app", "lib", "article_import")
begin
@@codes = YAML::load(File.open(dir.join("dnb_codes.yml"))).symbolize_keys
rescue => e

Loading…
Cancel
Save