]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/nodes/show.json.jbuilder
Merge remote-tracking branch 'upstream/pull/5410'
[rails.git] / app / views / api / nodes / show.json.jbuilder
index c87777a87bff280a99f7d67a6d320073a0b76702..bcbd29b5e82c14e561557ffd5838bb8ec3fb2538 100644 (file)
@@ -1,5 +1,5 @@
-json.partial! "api/map/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