openSNP/snpr

View on GitHub
app/views/user_snps/show.html.erb

Summary

Maintainability
Test Coverage
<h2>Your SNPs</h2>

<% @user_snps.each do |u| %>
    <%= link_to(u.id, Snp.find_by_id(u.snp_id)) %><br/>
<% end %>

<%= will_paginate(@user_snps, page_links: false) %>