Fix appending to Relation in in EnterpriseFeesController

This commit is contained in:
Matt-Yorkley
2021-01-24 22:21:28 +00:00
parent 95b5586f9b
commit aea8d1dc99

View File

@@ -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