]> git.openstreetmap.org Git - rails.git/blobdiff - lib/editors.rb
Remove callback from initialize() in note js controller
[rails.git] / lib / editors.rb
index 101a6f80c457e251e04558dd95d28cf58e3e9643..e1c4054f376cfaae46cc46e1cfc4108161007fe3 100644 (file)
@@ -1,4 +1,5 @@
-module Editors 
-  ALL_EDITORS = [ "potlatch", "potlatch2", "id", "remote" ]
-  RECOMMENDED_EDITORS = [ "id", "potlatch2", "remote" ]
+module Editors
+  ALL_EDITORS = %w[potlatch potlatch2 id remote].freeze
+  AVAILABLE_EDITORS = %w[id remote].freeze
+  RECOMMENDED_EDITORS = %w[id remote].freeze
 end