From fcc36b786df4db532f13135814c906e8ba741977 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Fri, 29 Dec 2023 15:32:48 +0100 Subject: [PATCH] require 'tag_rule_applicator' where needed --- app/services/shop/order_cycles_list.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/services/shop/order_cycles_list.rb b/app/services/shop/order_cycles_list.rb index 7f3ab665a3c..65d394a7a3e 100644 --- a/app/services/shop/order_cycles_list.rb +++ b/app/services/shop/order_cycles_list.rb @@ -1,6 +1,9 @@ # frozen_string_literal: true # Lists available order cycles for a given customer in a given distributor + +require 'open_food_network/tag_rule_applicator' + module Shop class OrderCyclesList def self.active_for(distributor, customer)