lib/generators/templates/spree_site.rb in spree-0.40.4 vs lib/generators/templates/spree_site.rb in spree-0.50.0
- old
+ new
@@ -1,8 +1,12 @@
module SpreeSite
class Engine < Rails::Engine
def self.activate
# Add your custom site logic here
end
+
+ def load_tasks
+ end
+
config.to_prepare &method(:activate).to_proc
end
end
\ No newline at end of file