Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix locales bug

  • Loading branch information...
commit 5ce6553c746d617e02dab472a030a34443aa7179 1 parent e40b41b
Russell Branca chewbranca authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/newscloud/redcloud.rb
2  lib/newscloud/redcloud.rb
@@ -32,7 +32,7 @@ def self.expire_views()
32 32 end
33 33
34 34 def self.expire_locales()
35   - Locale.all.map(&:code).map do |locale|
  35 + I18n::Backend::Locale.all.map(&:code).map do |locale|
36 36 $redis.keys("#{locale}:*").map do |translation|
37 37 $redis.del(translation)
38 38 end.size

0 comments on commit 5ce6553

Please sign in to comment.
Something went wrong with that request. Please try again.