Fix typo in milestone tags

This commit is contained in:
Javi Martín
2019-10-31 21:13:59 +01:00
parent b1806dde44
commit d5cb519819

View File

@@ -60,7 +60,7 @@ module BudgetsHelper
end
def investment_milestone_tags_select_options(budget)
tags = budget.investments.tags_on(:milestone).order(:name).pluck(:name)
tags = budget.investments.tags_on(:milestone_tags).order(:name).pluck(:name)
tags = tags.concat budget.budget_milestone_tags.split(",") if budget.budget_milestone_tags.present?
tags.uniq
end