]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/nodes/show.json.jbuilder
Merge remote-tracking branch 'upstream/pull/5135'
[rails.git] / app / views / api / nodes / show.json.jbuilder
index 9974da82ffccab5e2785a80b69125a1f7da63c1f..bcbd29b5e82c14e561557ffd5838bb8ec3fb2538 100644 (file)
@@ -1,5 +1,5 @@
 json.partial! "api/root_attributes"
 
 json.partial! "api/root_attributes"
 
-json.elements([@node]) do |node|
-  json.partial! node
+json.elements do
+  json.array! [@node], :partial => "node", :as => :node
 end
 end