Skip to content

Commit

Permalink
Fix tax category params
Browse files Browse the repository at this point in the history
The former ones were not correct, probably just a leftover from
a cut and paste.
  • Loading branch information
spaghetticode committed Mar 7, 2024
1 parent 01cf140 commit 8f8a4be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def load_tax_category
end

def tax_category_params
params.require(:tax_category).permit(:tax_category_id, permitted_tax_category_attributes)
params.require(:tax_category).permit(:name, :description, :is_default, :tax_code)
end
end
end

0 comments on commit 8f8a4be

Please sign in to comment.