mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix appending to Relation in in EnterpriseFeesController
This commit is contained in:
@@ -10,7 +10,7 @@ module Admin
|
||||
|
||||
blank_enterprise_fee = EnterpriseFee.new
|
||||
blank_enterprise_fee.enterprise = current_enterprise
|
||||
3.times { @collection << blank_enterprise_fee }
|
||||
3.times { @collection.to_a << blank_enterprise_fee }
|
||||
|
||||
respond_to do |format|
|
||||
format.html
|
||||
|
||||
Reference in New Issue
Block a user