response.last_modified = @relation.timestamp
if @relation.visible
# Render the result
- render formats: [:xml]
+ render :formats => [:xml]
else
head :gone
end
@relations << relation
# Render the result
- render formats: [:xml]
+ render :formats => [:xml]
else
head :gone
end
@relations = Relation.find(ids)
# Render the result
- render formats: [:xml]
+ render :formats => [:xml]
end
def relations_for_way
end
# Render the result
- render formats: [:xml]
+ render :formats => [:xml]
end
end
end