Merge pull request #1541 from consul/budgets-button-hover

After adding and removing investments, refresh the other voting buttons
This commit is contained in:
Alberto
2017-05-15 12:04:34 +02:00
committed by GitHub

View File

@@ -56,7 +56,7 @@ module Budgets
def load_investments
if params[:investments_ids].present?
@investment_ids = params[:investment_ids]
@investment_ids = params[:investments_ids]
@investments = Budget::Investment.where(id: params[:investments_ids])
end
end