config/initializers/ecommerce-config.rb in ecommerce-0.0.2 vs config/initializers/ecommerce-config.rb in ecommerce-0.0.3

- old
+ new

@@ -1,7 +1,7 @@ require 'yaml' env = Rails.env.present? ? Rails.env.to_s : 'test' -ECO = YAML.load(File.read(File.expand_path('../../ecommerce.yml', __FILE__)))[env] +ECO = YAML.load(File.read("#{Rails.root}/config/ecommerce.yml"))[env] PAYPAL_CERT_PEM = File.read("#{Rails.root}/certs/paypal_cert.pem") APP_CERT_PEM = File.read("#{Rails.root}/certs/app_cert.pem") APP_KEY_PEM = File.read("#{Rails.root}/certs/app_key.pem")