fixes deprecation warning for uniq

This commit is contained in:
alejandro
2017-05-02 14:45:46 +02:00
committed by Julian Herrero
parent 596ff77ec1
commit 4c5d58448e

View File

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