]> git.openstreetmap.org Git - rails.git/blob - lib/id.rb
Cast the locale to a string
[rails.git] / lib / id.rb
1 module ID
2   LOCALES = Rails.root.join('vendor/assets/iD/iD/locales').entries.map {|p| p.basename.to_s[/(.*).json/] && $1 }.compact
3 end