]> git.openstreetmap.org Git - rails.git/blobdiff - lib/editors.rb
Avoid error when there is no layer with a keyid
[rails.git] / lib / editors.rb
index 84f2a9468b991f72b515270964ab6bcf9b88595c..6c04287240641e927943558c4e33bcfe96226fee 100644 (file)
@@ -1,4 +1,4 @@
 module Editors
-  ALL_EDITORS = [ "potlatch", "potlatch2", "id", "remote" ]
-  RECOMMENDED_EDITORS = [ "id", "potlatch2", "remote" ]
+  ALL_EDITORS = %w[potlatch potlatch2 id remote].freeze
+  RECOMMENDED_EDITORS = %w[id potlatch2 remote].freeze
 end