X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8c20bc1d98156af2501c9c4ec324473dc72a0994..62613e7b479ce351daec94798f1a63b8946d979c:/app/views/api/ways/show.json.jbuilder diff --git a/app/views/api/ways/show.json.jbuilder b/app/views/api/ways/show.json.jbuilder index 92e570d86..adf8beab2 100644 --- a/app/views/api/ways/show.json.jbuilder +++ b/app/views/api/ways/show.json.jbuilder @@ -1,5 +1,6 @@ json.partial! "api/root_attributes" json.elements do + json.array! @nodes, :partial => "/api/nodes/node", :as => :node if @nodes json.array! [@way], :partial => "way", :as => :way end