mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Address violation of Rubocop Rails/ReadWriteAttribute
This commit is contained in:
@@ -42,7 +42,7 @@ module Spree
|
||||
private
|
||||
|
||||
def count_on_hand=(value)
|
||||
write_attribute(:count_on_hand, value)
|
||||
self[:count_on_hand] = value
|
||||
end
|
||||
|
||||
def process_backorders
|
||||
|
||||
Reference in New Issue
Block a user