<% quizzes.each do |quiz| %> <% end %>
Name Dept Unit Questions
<%= link_to quiz.name, admin_quiz_path(quiz.to_i) %> <%= quiz.dept %> <%= quiz.unit %> <%= quiz.questions.count %> <%= link_to 'edit', admin_edit_quiz_path(quiz.to_i), { class: "" } if policy(quiz).edit? %>