Merge branch 'master' into admin-newsletter-emails

This commit is contained in:
María Checa
2018-02-14 16:07:13 +01:00
35 changed files with 559 additions and 897 deletions

View File

@@ -101,7 +101,7 @@ class Admin::BudgetInvestmentsController < Admin::BaseController
end
def load_investment
@investment = Budget::Investment.where(budget_id: @budget.id).find(params[:id])
@investment = Budget::Investment.by_budget(@budget).find(params[:id])
end
def load_admins