gauge/app/views/home/ratings.csv.erb

4 lines
152 B
Plaintext

<%- headers = ['ID', 'Type', 'Title', 'Subtitle', 'Votes', '%'] -%>
<%= CSV.generate_line headers -%>
<%= render partial: 'talk', collection: @talks %>