fixes deprecation warning for uniq
This commit is contained in:
committed by
Julian Herrero
parent
596ff77ec1
commit
4c5d58448e
@@ -107,7 +107,7 @@ class Admin::BudgetInvestmentsController < Admin::BaseController
|
||||
end
|
||||
|
||||
def load_tags
|
||||
@tags = Budget::Investment.tags_on(:valuation).order(:name).uniq
|
||||
@tags = Budget::Investment.tags_on(:valuation).order(:name).distinct
|
||||
end
|
||||
|
||||
def load_ballot
|
||||
|
||||
Reference in New Issue
Block a user