I moved Potlatch's locales but didn't update this, which broke all i18n
This commit is contained in:
parent
2b2e754b3d
commit
9b7e39dc49
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
##
|
||||
|
|
Loading…
Add table
Reference in a new issue