Fixes issue when voting

This commit is contained in:
kikito
2016-12-16 19:12:31 +01:00
parent 9fe8358a14
commit bb28fe5107

View File

@@ -1,4 +1,4 @@
$("#<%= dom_id(@investment) %>_votes").html('<%= j render("/budgets/investments/votes",
investment: @investment,
investment_votes: @budget_investment_votes,
investment_votes: @investment_votes,
vote_url: namespaced_budget_investment_vote_path(@investment, value: 'yes')) %>');