]> git.openstreetmap.org Git - rails.git/blobdiff - lib/id.rb
Don't show hidden notes to non-moderators in the user notes list
[rails.git] / lib / id.rb
index 15b7f8367428a7d0d0c9b241b83a7c4067582d27..15f918e799b9a15d16e31fe4ddefee2e1ed73c4b 100644 (file)
--- a/lib/id.rb
+++ b/lib/id.rb
@@ -1,3 +1,3 @@
 module ID
-  LOCALES = Rails.root.join('vendor/assets/iD/iD/locales').entries.map {|p| p.basename.to_s[/(.*).json/] && $1 }.compact
+  LOCALES = Rails.root.join("vendor/assets/iD/iD/locales").entries.map { |p| p.basename.to_s[/(.*).json/] && $1 }.compact
 end