app/views/rostra/questions/index.html.erb in rostra-0.1.12 vs app/views/rostra/questions/index.html.erb in rostra-0.1.13
- old
+ new
@@ -18,11 +18,11 @@
<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>
<div class="views_count" title="Number of times this question was viewed">
- <span class="count"><%= question.unique_page_views %></span>
- <span class="type"><%= question.unique_page_views.abs == 1 ? 'view' : 'views' %></span>
+ <span class="count"><%= question.impressions_count %></span>
+ <span class="type"><%= question.impressions_count.abs == 1 ? 'view' : 'views' %></span>
</div>
</div>
<%= rostra_user_avatar(question.user) %>