2 lines
99 B
Ruby
2 lines
99 B
Ruby
json.extract! setup, :id, :name, :created_at, :updated_at
|
|
json.url setup_url(setup, format: :json)
|