Make sure decorators are being loaded

This commit is contained in:
John Dyer 2012-01-17 12:40:46 -05:00
parent 5f381f1466
commit 800bd305e9
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ module SpreePaypalExpress
end
def self.activate
Dir.glob(File.join(File.dirname(__FILE__), "../app/**/*_decorator*.rb")) do |c|
Dir.glob(File.join(File.dirname(__FILE__), "../../app/**/*_decorator*.rb")) do |c|
Rails.env.production? ? require(c) : load(c)
end
end