3 lines
106 B
Ruby
3 lines
106 B
Ruby
json.extract! todo, :id, :title, :status, :created_at, :updated_at
|
|
json.url todo_url(todo, format: :json)
|