Adds more controller variables and uses them in investment controller
This commit is contained in:
@@ -18,7 +18,12 @@
|
||||
</div>
|
||||
|
||||
<% @investments.each do |investment| %>
|
||||
<%= render partial: '/budgets/investments/investment', locals: { investment: investment, investment_votes: @investment_votes } %>
|
||||
<%= render partial: '/budgets/investments/investment', locals: {
|
||||
investment: investment,
|
||||
investment_ids: @investment_ids,
|
||||
investment_votes: @investment_votes,
|
||||
investment_ballots: @investment_ballots
|
||||
} %>
|
||||
<% end %>
|
||||
|
||||
<%= paginate @investments %>
|
||||
|
||||
Reference in New Issue
Block a user