Add push buttons and support inactive products
This commit is contained in:
@@ -98,7 +98,7 @@ module Suppliers
|
||||
private
|
||||
|
||||
def product_params
|
||||
params.require(:product).permit(:name, :code, :price, :description, :image, :visible, :position, :product_category_id)
|
||||
params.require(:product).permit(:name, :code, :price, :description, :image, :visible, :position, :active, :product_category_id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user