parent
dbe260e4fe
commit
90be4c513d
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ module ArticleImport::DnbXml
|
||||||
@@codes = Hash.new
|
@@codes = Hash.new
|
||||||
|
|
||||||
def self.load_codes
|
def self.load_codes
|
||||||
dir = Rails.root.join("lib", "article_import")
|
dir = Rails.root.join("app", "lib", "article_import")
|
||||||
begin
|
begin
|
||||||
@@codes = YAML::load(File.open(dir.join("dnb_codes.yml"))).symbolize_keys
|
@@codes = YAML::load(File.open(dir.join("dnb_codes.yml"))).symbolize_keys
|
||||||
rescue => e
|
rescue => e
|
||||||
|
|
Loading…
Reference in a new issue