]> git.openstreetmap.org Git - rails.git/blob - app/views/api/relations/relations_for_relation.json.jbuilder
Use where instead of find to prevent 404
[rails.git] / app / views / api / relations / relations_for_relation.json.jbuilder
1 json.partial! "api/root_attributes"
2
3 json.elements(@relations) do |relation|
4   json.partial! relation
5 end