Remove unnecessary line
We were assigning the same variable twice in a row, making the first assignment useless.
This commit is contained in:
@@ -7,7 +7,6 @@ class Valuation::BudgetsController < Valuation::BaseController
|
||||
def index
|
||||
@budget = current_budget
|
||||
if @budget.present?
|
||||
@investments_with_valuation_open = {}
|
||||
@investments_with_valuation_open = @budget.investments
|
||||
.by_valuator(current_user.valuator.try(:id))
|
||||
.valuation_open
|
||||
|
||||
Reference in New Issue
Block a user