From 864bdbd9b6bcbd93e27d17a1a6748a3dcfdef1c9 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Fri, 16 Mar 2018 22:55:42 +0100 Subject: [PATCH] Fix the build --- app/models/translation_override.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/translation_override.rb b/app/models/translation_override.rb index 77d0b99975d..52b959ad5b7 100644 --- a/app/models/translation_override.rb +++ b/app/models/translation_override.rb @@ -40,7 +40,7 @@ class TranslationOverride < ActiveRecord::Base I18n.reload! MessageBus.publish('/i18n-flush', refresh: true) - keys.each do |key| + keys.flatten.each do |key| return if expire_cache(key) end end