aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJody McIntyre <scjody@modernduck.com>2014-09-17 15:37:44 -0400
committerLouise Crow <louise.crow@gmail.com>2014-11-17 18:18:59 +0000
commitce5018e416ba2dda9b0960eb001465d77d109585 (patch)
treed2e9dec9299eabdff2bef026bde4e210968a3999
parent36030dabc5d5f24d7803a54fcd0030ba71ae44b6 (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>
<%