3 lines
127 B
Plaintext
3 lines
127 B
Plaintext
|
json.extract! product, :id, :name, :description, :price, :created_at, :updated_at
|
||
|
json.url product_url(product, format: :json)
|