sanger/sequencescape

View on GitHub
app/views/studies/projects.xml.builder

Summary

Maintainability
Test Coverage
# frozen_string_literal: true
xml.instruct!
if @exclude_nested_resource
  xml.projects({ type: 'array' }) do |projects|
    @study.projects.each { |p| projects.project { |project| project.id p.id } }
  end
end