Remove unused parameter

The `refresh_ballots` partial ignores the `investment` parameter
completely; instead, it iterates over the investments in the
`@investments` instance variable.
This commit is contained in:
Javi Martín
2020-07-12 23:12:39 +02:00
parent aff213b0ef
commit a32c0f8154
2 changed files with 0 additions and 2 deletions

View File

@@ -6,7 +6,6 @@ $("#<%= dom_id(@investment) %>_ballot").html("<%= j render("/budgets/investments
ballot: @ballot) %>");
<%= render "refresh_ballots",
investment: @investment,
investment_ids: @investment_ids,
ballot: @ballot %>

View File

@@ -7,7 +7,6 @@ $("#<%= dom_id(@investment) %>_ballot").html("<%= j render("/budgets/investments
investment_ids: @investment_ids,
ballot: @ballot) %>");
<%= render "refresh_ballots",
investment: @investment,
investment_ids: @investment_ids,
ballot: @ballot %>