diff --git a/app/views/budgets/investments/vote.js.erb b/app/views/budgets/investments/vote.js.erb index 848b432e0..56248ba68 100644 --- a/app/views/budgets/investments/vote.js.erb +++ b/app/views/budgets/investments/vote.js.erb @@ -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')) %>');