app/views/rostra/questions/index.html.erb in rostra-0.1.15 vs app/views/rostra/questions/index.html.erb in rostra-0.1.16

- old
+ new

@@ -10,11 +10,11 @@ <% @questions.each do |question| %> <div class="question"> <div class="stats"> <div class="vote_count" title="Number of times this question was voted up"> - <span class="count"><%= question.plusminus %></span> - <span class="type"><%= question.plusminus.abs == 1 ? 'vote' : 'votes' %></span> + <span class="count"><%= question.votes_count %></span> + <span class="type"><%= question.votes_count.abs == 1 ? 'vote' : 'votes' %></span> </div> <div class="answer_count" title="Number of times this question was answered"> <span class="count"><%= question.answer_count %></span> <span class="type"><%= question.answer_count.abs == 1 ? 'answer' : 'answers' %></span> </div>