]> git.openstreetmap.org Git - rails.git/blobdiff - lib/editors.rb
use a controller method to handle cancan denials
[rails.git] / lib / editors.rb
index 1c5427b9431bf284d09b8c92e2112d8545c95742..6c04287240641e927943558c4e33bcfe96226fee 100644 (file)
@@ -1,4 +1,4 @@
 module Editors
-  ALL_EDITORS = %w(potlatch potlatch2 id remote)
-  RECOMMENDED_EDITORS = %w(id potlatch2 remote)
+  ALL_EDITORS = %w[potlatch potlatch2 id remote].freeze
+  RECOMMENDED_EDITORS = %w[id potlatch2 remote].freeze
 end