Remove useless andand called on scope

This commit is contained in:
Maikel Linke
2017-04-12 15:00:21 +10:00
parent 1f2c6f2a85
commit 81877fedb6
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
module OpenFoodNetwork
class EnterpriseInjectionData
def active_distributors
@active_distributors ||= Enterprise.distributors_with_active_order_cycles.andand.ready_for_checkout
@active_distributors ||= Enterprise.distributors_with_active_order_cycles.ready_for_checkout
end
def earliest_closing_times