Use acts_as_taggable for investment valuation tags
We were manually doing the same thing, generating inconsistent results, since the method `valuation_tag_list` was using the `valuation` context, when actually the expected behavior would be to use the `valuation_tag` context.
This commit is contained in:
@@ -110,7 +110,7 @@ class Admin::BudgetInvestmentsController < Admin::BaseController
|
||||
end
|
||||
|
||||
def load_tags
|
||||
@tags = Budget::Investment.tags_on(:valuation).order(:name).distinct
|
||||
@tags = Budget::Investment.tags_on(:valuation_tags).order(:name).distinct
|
||||
end
|
||||
|
||||
def load_ballot
|
||||
|
||||
Reference in New Issue
Block a user