Skip to content

Commit

Permalink
rails apparently wants a specific method order
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Feb 29, 2024
1 parent af9caf4 commit 7e89a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/mpa_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def pept2data
end
end

taxa = Taxon.find(@response.values).includes(:lineage)
taxa = Taxon.includes(:lineage).find(@response.values)

@lineages = Hash.new
taxa.each do |taxon|
Expand Down

0 comments on commit 7e89a0c

Please sign in to comment.