3 lines
110 B
Ruby
3 lines
110 B
Ruby
json.extract! todo, :id, :name, :description, :created_at, :updated_at
|
|
json.url todo_url(todo, format: :json)
|