json.extract! entry, :id, :date, :hours, :minutes, :created_at, :updated_at json.url entry_url(entry, format: :json)