Extract valuation budget index view to components

This commit is contained in:
Senén Rodero Rodríguez
2023-01-04 12:31:17 +01:00
parent f9ec038671
commit ee80b3f4a2
6 changed files with 58 additions and 39 deletions

View File

@@ -6,8 +6,5 @@ class Valuation::BudgetsController < Valuation::BaseController
def index
@budget = current_budget
if @budget.present?
@investments = @budget.investments.by_valuator(current_user.valuator).valuation_open
end
end
end