]> git.openstreetmap.org Git - rails.git/blob - app/views/api/ways/full.json.jbuilder
9bd234fbe14b0b203a6ee4227dd2b851eafe50ff
[rails.git] / app / views / api / ways / full.json.jbuilder
1 json.partial! "api/map/root_attributes"
2
3 all = @nodes + [@way]
4
5 json.elements(all) do |obj|
6   json.partial! obj
7 end