refactors voting implementation [#25]

This commit is contained in:
rgarcia
2015-08-05 12:12:56 +02:00
parent cce6ca2fb9
commit 91b52ad8d2
9 changed files with 31 additions and 56 deletions

View File

@@ -0,0 +1 @@
$("#<%= dom_id(@debate) %>_votes").html('<%= j render("debates/#{params[:partial]}", debate: @debate) %>');