X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b4dbf6233c3785e62af5bd313381f1844e5bbc19..899fc66a62b036adcfd59f5da80c7fc6f30cd3a8:/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