X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2b2e754b3d693cb13107332d7847ddcb01f90967..9b7e39dc49cf0f12ff1adf8f93af7f8f93c3205d:/app/controllers/amf_controller.rb?ds=sidebyside diff --git a/app/controllers/amf_controller.rb b/app/controllers/amf_controller.rb index 0439ed710..86ca3f5fb 100644 --- a/app/controllers/amf_controller.rb +++ b/app/controllers/amf_controller.rb @@ -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 ##