diff --git a/lib/solidus_support/engine_extensions.rb b/lib/solidus_support/engine_extensions.rb index 71e9fbc..7b1c34b 100644 --- a/lib/solidus_support/engine_extensions.rb +++ b/lib/solidus_support/engine_extensions.rb @@ -108,7 +108,7 @@ def enable_solidus_engine_support(engine) end end - initializer "#{name}_#{engine}_patch_paths", after: "flickwerk.add_paths" do + initializer "#{name}_#{engine}_patch_paths", before: "flickwerk.add_paths" do patch_paths = root.join("lib/patches/#{engine}").glob("*") Flickwerk.patch_paths += patch_paths end