X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d0de9967b9bd21c8e7c03e060626c4486b149fb2..cf3cf5216fa3697ad2e3c060fced6a7bbb16f4a4:/app/controllers/api/relations_controller.rb diff --git a/app/controllers/api/relations_controller.rb b/app/controllers/api/relations_controller.rb index 9f125cfd3..40d919ddc 100644 --- a/app/controllers/api/relations_controller.rb +++ b/app/controllers/api/relations_controller.rb @@ -25,7 +25,7 @@ module Api relation = Relation.find(params[:id]) response.last_modified = relation.timestamp if relation.visible - @relations = [relation] + @relation = relation # Render the result respond_to do |format|