We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7e2307d + cb59db3 commit 91cb1cfCopy full SHA for 91cb1cf
app/observers/cache_expiration.rb
@@ -14,7 +14,7 @@ def after_destroy(entitiy)
14
end
15
16
def self.expire_view_cache
17
- [:de, :en].each do |locale|
+ I18n.available_locales.each do |locale|
18
[[:home, :index], [:highlights], [:jobs]].each do |segment|
19
key = [:views, Whitelabel[:label_id], locale]
20
key = key.concat(segment).join("/")
0 commit comments