[refa #861] add product url

This commit is contained in:
Alexander Machehin 2013-02-07 00:48:38 +06:00
parent 3e5f3cb916
commit 75ea82d808
1 changed files with 2 additions and 0 deletions

View File

@ -1 +1,3 @@
json.(product, :id, :name, :description, :main_script, :params, :time_living)
json.url api_v1_product_path(product, :format => :json)