]> source.dussan.org Git - redmine.git/commitdiff
Fix a RuboCop offense Style/SymbolArray due to r20066 (#33289).
authorGo MAEDA <maeda@farend.jp>
Mon, 28 Sep 2020 08:50:03 +0000 (08:50 +0000)
committerGo MAEDA <maeda@farend.jp>
Mon, 28 Sep 2020 08:50:03 +0000 (08:50 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20093 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/enumeration.rb

index dfa6ba49fbbb6bf1e5598636b166e341e30e18ef..b5ee7b8117831061ad30ee5cfe3b70e69b66c188 100644 (file)
@@ -24,7 +24,7 @@ class Enumeration < ActiveRecord::Base
 
   belongs_to :project
 
-  acts_as_positioned :scope => %i[project_id parent_id]
+  acts_as_positioned :scope => [:project_id, :parent_id]
   acts_as_customizable
   acts_as_tree