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