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

4 lines
147 B
Plaintext

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