]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/amf_controller.rb
Add "blocks on" and "blocks by" links to the user page when a logged
[rails.git] / app / controllers / amf_controller.rb
index 0439ed710f7c4a5a353e1fdd787173d0277e5ed6..86ca3f5fbe193250a301cbb810d68b6b9d5d7862 100644 (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
   
   ##