From f7219c19ec2cb304d30cdb2a05ba8306fb2f3a62 Mon Sep 17 00:00:00 2001 From: cedricnjanga Date: Mon, 17 Jul 2017 10:31:10 +0200 Subject: Fix errors tranlations for clean up --- app/models/clean_up.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models') diff --git a/app/models/clean_up.rb b/app/models/clean_up.rb index cdbf6c00a..b1135a155 100644 --- a/app/models/clean_up.rb +++ b/app/models/clean_up.rb @@ -14,7 +14,7 @@ class CleanUp < ActiveRecord::Base def end_date_must_be_greater_that_begin_date if self.end_date && self.date_type == 'between' && self.begin_date >= self.end_date - errors.add(:base, I18n.t('clean_ups.activerecord.errors.invalid_period')) + errors.add(:base, I18n.t('activerecord.errors.models.clean_up.invalid_period')) end end -- cgit v1.2.3