Extract valuation budget index view to components
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user