Fix houncibot offenses: Style/StringLiterals

This commit is contained in:
taitus
2019-05-30 17:03:46 +02:00
committed by voodoorai2000
parent aad6491049
commit 3a154a57cb
3 changed files with 18 additions and 18 deletions

View File

@@ -49,7 +49,7 @@ module RemoteTranslations::Microsoft::AvailableLocales
end
def daily_cache(key, &block)
Rails.cache.fetch("remote_available_locales/#{Time.current.strftime('%Y-%m-%d')}/#{key}", &block)
Rails.cache.fetch("remote_available_locales/#{Time.current.strftime("%Y-%m-%d")}/#{key}", &block)
end
end