I moved Potlatch's locales but didn't update this, which broke all i18n

This commit is contained in:
Ævar Arnfjörð Bjarmason 2009-09-23 23:34:43 +00:00
parent 2b2e754b3d
commit 9b7e39dc49

View file

@ -883,7 +883,7 @@ class AmfController < ApplicationController
end
def getlocales
Dir.glob("#{RAILS_ROOT}/config/potlatch/localised/*").collect { |f| File.basename(f) }
Dir.glob("#{RAILS_ROOT}/config/potlatch/locales/*").collect { |f| File.basename(f, ".yml") }
end
##