spree_zone_pricing 0.1.81 → 0.1.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/spree_zone_pricing.rb +11 -11
- metadata +1 -1
data/lib/spree_zone_pricing.rb
CHANGED
|
@@ -7,19 +7,19 @@ module SpreeZonePricing
|
|
|
7
7
|
|
|
8
8
|
config.autoload_paths += %W(#{config.root}/lib)
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Rails.configuration.cache_classes ? require(c) : load(c)
|
|
16
|
-
end
|
|
10
|
+
config.to_prepare do
|
|
11
|
+
# Load application's model / class decorators
|
|
12
|
+
Dir.glob(File.join(File.dirname(__FILE__), "../app/**/*_decorator*.rb")) do |c|
|
|
13
|
+
Rails.configuration.cache_classes ? require(c) : load(c)
|
|
14
|
+
end
|
|
17
15
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
end
|
|
16
|
+
# Load application's view overrides
|
|
17
|
+
Dir.glob(File.join(File.dirname(__FILE__), "../app/overrides/*.rb")) do |c|
|
|
18
|
+
Rails.configuration.cache_classes ? require(c) : load(c)
|
|
22
19
|
end
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def self.activate
|
|
23
23
|
|
|
24
24
|
=begin
|
|
25
25
|
|