Remove unnecessary line

We were assigning the same variable twice in a row, making the first
assignment useless.
This commit is contained in:
Javi Martín
2018-12-21 17:08:27 +01:00
parent d4013ee664
commit 10e8117f83

View File

@@ -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