Add image to product

This commit is contained in:
2014-08-27 17:14:56 +02:00
parent 22ebf9e376
commit 2ed16351da
15 changed files with 55 additions and 23 deletions
@@ -95,7 +95,7 @@ module Suppliers
private
def product_params
params.require(:product).permit(:name, :code, :price, :description, product_category_ids: [])
params.require(:product).permit(:name, :code, :price, :description, :image, product_category_ids: [])
end
end
end