Permalink
Browse files

display query count in index page

  • Loading branch information...
1 parent 1236233 commit a50063168c713afa0f03928c63d11c14c3d24586 Zach Morek committed Nov 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/saved_queries/_index.html.erb
@@ -9,7 +9,7 @@
<tbody>
<% @saved_queries.each do |saved_query| %>
<tr>
- <td>0 (placeholder)</td>
+ <td><%= saved_query.query_count || 0 %></td>
<td><%= link_to saved_query.name, saved_query_path(saved_query), :remote => true %></td>
</tr>
<% end %>

0 comments on commit a500631

Please sign in to comment.