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
@@ -3,5 +3,6 @@ App.Product = DS.Model.extend
name: attr 'string'
price: attr 'number'
description: attr 'string'
image: attr()
product_category: DS.belongsTo('product_category')
product_orders: DS.hasMany('product_order')