fixes specs

This commit is contained in:
rgarcia
2017-01-13 16:37:39 +01:00
parent b2b9954e6d
commit 17946b292b
4 changed files with 9 additions and 5 deletions

View File

@@ -34,6 +34,10 @@ class Management::Budgets::InvestmentsController < Management::BaseController
def vote
@investment.register_selection(managed_user)
load_investment_votes(@investment)
respond_to do |format|
format.html { redirect_to management_budget_investments_path(heading_id: @investment.heading.id) }
format.js
end
end
def print