spree_zone_pricing 0.1.39 → 0.1.40
Sign up to get free protection for your applications and to get access to all the features.
data/lib/spree_zone_pricing.rb
CHANGED
@@ -9,6 +9,14 @@ module SpreeZonePricing
|
|
9
9
|
|
10
10
|
def self.activate
|
11
11
|
|
12
|
+
Dir.glob(File.join(File.dirname(__FILE__), "../app/**/*_decorator*.rb")) do |c|
|
13
|
+
Rails.configuration.cache_classes ? require(c) : load(c)
|
14
|
+
end
|
15
|
+
|
16
|
+
Dir.glob(File.join(File.dirname(__FILE__), "../app/controllers/spree/admin/*_decorator*.rb")) do |c|
|
17
|
+
Rails.configuration.cache_classes ? require(c) : load(c)
|
18
|
+
end
|
19
|
+
|
12
20
|
=begin
|
13
21
|
|
14
22
|
# Add helper to retrieve the users country
|