mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-04 07:09:14 +00:00
11060 - fix undefined method tax_category_options error in specs
This commit is contained in:
committed by
Rachel Arnould
parent
aad48b4670
commit
da34e7b780
@@ -24,7 +24,8 @@ module Admin
|
||||
elsif product_set.errors.present?
|
||||
@error_counts = { saved: product_set.saved_count, invalid: product_set.invalid.count }
|
||||
|
||||
render "index", status: :unprocessable_entity, locals: { producers:, categories:, flash: }
|
||||
render "index", status: :unprocessable_entity,
|
||||
locals: { producers:, categories:, tax_category_options:, flash: }
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user