diff --git a/app/views/mpa/pept2filtered/pept2filtered.json.jbuilder b/app/views/mpa/pept2filtered/pept2filtered.json.jbuilder index c576bc9..596cac5 100644 --- a/app/views/mpa/pept2filtered/pept2filtered.json.jbuilder +++ b/app/views/mpa/pept2filtered/pept2filtered.json.jbuilder @@ -1,8 +1 @@ -json.peptides @response do |peptide| - json.sequence peptide["sequence"] - json.taxa peptide["taxa"] - json.fa do - json.counts peptide["fa"]["counts"] - json.data peptide["fa"]["data"] - end -end +json.peptides(@response)