mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-11 23:17:48 +00:00
Permit specific params in tax_categories controller
This commit is contained in:
@@ -14,6 +14,12 @@ module Spree
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def permitted_resource_params
|
||||
params.require(:tax_category).permit(:name, :description, :is_default)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user