X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/94b59f440321846760d430fee378f05a6a2803ee..8ad88b9ddc2f5aad1d9302bb6c2398c39cbfd2e6:/app/views/api/notes/index.json.jsonify diff --git a/app/views/api/notes/index.json.jsonify b/app/views/api/notes/index.json.jsonify index cb75d41c4..bfc8ffcf8 100644 --- a/app/views/api/notes/index.json.jsonify +++ b/app/views/api/notes/index.json.jsonify @@ -1,5 +1,5 @@ json.type "FeatureCollection" json.features(@notes) do |note| - json.ingest! render(:partial => "note", :object => note) + json.ingest! render(note) end