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

4 lines
152 B
Plaintext
Raw Normal View History

2015-10-15 21:41:19 +03:00
<%- headers = ['ID', 'Type', 'Title', 'Subtitle', 'Votes', '%'] -%>
2015-10-06 21:37:53 +03:00
<%= CSV.generate_line headers -%>
<%= render partial: 'talk', collection: @talks %>