3 lines
104 B
Ruby
3 lines
104 B
Ruby
json.extract! promotion, :id, :created_at, :updated_at
|
|
json.url promotion_url(promotion, format: :json)
|