X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be0e33862fedbf02e52a9e126cac31dfb5775b43..9f7ec064e448a745e0ea2615a089f0988215dec6:/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