aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJody McIntyre <scjody@modernduck.com>2014-09-17 15:37:44 -0400
committerLouise Crow <louise.crow@gmail.com>2015-04-27 16:49:53 +0100
commit1d191eb9fa795bf62fac758ba779d42cdbc4fb29 (patch)
treeeca2c5b4c6be6a88e28d1052634fb449c7d5b05a
parent6a695ee68e002c47eb39d205e69b2e539be933bc (diff)
Show "votes" along with tracks in widget
-rw-r--r--app/views/request/widget.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/request/widget.html.erb b/app/views/request/widget.html.erb
index 462170400..89e151f17 100644
--- a/app/views/request/widget.html.erb
+++ b/app/views/request/widget.html.erb
@@ -48,7 +48,7 @@
</div>
</div>
<div id="alawidget-count">
- <%= TrackThing.count(:all, :conditions => ["info_request_id = ?", @info_request.id]) + 1 %>
+ <%= TrackThing.count(:all, :conditions => ["info_request_id = ?", @info_request.id]) + 1 + WidgetVote.count(:all, :conditions => ["info_request_id = ?", @info_request.id]) %>
</div>
</div>
<%