mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-10 03:30:22 +00:00
Address violation of Rubocop Rails/Delegate
This commit is contained in:
@@ -17,9 +17,7 @@ module Spree
|
||||
Spree::InventoryUnit.backordered_for_stock_item(self)
|
||||
end
|
||||
|
||||
def variant_name
|
||||
variant.name
|
||||
end
|
||||
delegate :name, to: :variant, prefix: true
|
||||
|
||||
def adjust_count_on_hand(value)
|
||||
with_lock do
|
||||
|
||||
Reference in New Issue
Block a user