Fixes all management bi issues except filtering by geozone
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
<%= render partial: '/budgets/investments/votes', locals: {
|
||||
investment: investment,
|
||||
investment_votes: investment_votes,
|
||||
vote_url: vote_budget_investment_path(investment.budget, investment, value: 'yes')
|
||||
vote_url: namespaced_budget_investment_vote_path(investment, value: 'yes')
|
||||
} %>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
vote_url: vote_budget_investment_path(investment.budget, investment, value: 'yes')
|
||||
} %>
|
||||
</div>
|
||||
<% elseif investment.sould_show_ballots? %>
|
||||
<% elsif investment.should_show_ballots? %>
|
||||
<div id="<%= dom_id(investment) %>_ballot">
|
||||
<%= render 'ballot', investment: investment %>
|
||||
</div>
|
||||
|
||||
@@ -1 +1,4 @@
|
||||
$("#<%= dom_id(@investment) %>_votes").html('<%= j render("budgets/investments/votes", investment: @investment, vote_url: vote_budget_investment_path(@budget, @investment, value: "yes")) %>');
|
||||
$("#<%= dom_id(@investment) %>_votes").html('<%= j render("/budgets/investments/votes",
|
||||
investment: @investment,
|
||||
investment_votes: @budget_investment_votes,
|
||||
vote_url: namespaced_budget_investment_vote_path(@investment, value: 'yes')) %>');
|
||||
|
||||
Reference in New Issue
Block a user