Remove unused budget attributes

Tags and help links can be edited, but aren't used anywhere. Since we
don't know what the intended behavior was, I'm removing them for now.

My best guess is tags were supposed to be used so investments for a
budget can only be assigned tags present in the budget. Achieving that
behavior wouldn't be a trivial task.
This commit is contained in:
Javi Martín
2019-11-01 00:14:25 +01:00
parent beae82aae8
commit 62c4d41af4
8 changed files with 8 additions and 36 deletions

View File

@@ -70,9 +70,6 @@ class Admin::BudgetsController < Admin::BaseController
descriptions = Budget::Phase::PHASE_KINDS.map { |p| "description_#{p}" }.map(&:to_sym)
valid_attributes = [:phase,
:currency_symbol,
:help_link,
:milestone_tag_list,
:valuation_tag_list,
administrator_ids: [],
valuator_ids: [],
tracker_ids: []