]>
git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/nodes_controller.rb
if @node.visible
# Render the result
- respond_to do |format|
- format.xml
- end
+ render formats: [:xml]
else
head :gone
end
@nodes = Node.find(ids)
# Render the result
- respond_to do |format|
- format.xml
- end
+ render formats: [:xml]
end
end
end