displays selected instead of feasible investments

This commit is contained in:
rgarcia
2017-06-30 23:04:54 +02:00
committed by Javi Martín
parent ef958aae59
commit f9e45dc2e2
2 changed files with 3 additions and 3 deletions

View File

@@ -34,8 +34,8 @@ class Budget
stats_cache("total_votes") { @budget.ballots.count }
end
def total_feasible_investments
stats_cache("total_feasible_investments") { @budget.investments.feasible.count }
def total_selected_investments
stats_cache("total_selected_investments") { @budget.investments.selected.count }
end
def total_unfeasible_investments