summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-09-28 08:50:03 +0000
committerGo MAEDA <maeda@farend.jp>2020-09-28 08:50:03 +0000
commit82e0fe13a312a0292ad7faeddd3315704619ae6d (patch)
treecfa0ec82dd256f5707997665da2bc7b130df61fe /app
parentd3e76b4b22bf5dc3eecd6a04769ef0aeee284a41 (diff)
downloadredmine-82e0fe13a312a0292ad7faeddd3315704619ae6d.tar.gz
redmine-82e0fe13a312a0292ad7faeddd3315704619ae6d.zip
Fix a RuboCop offense Style/SymbolArray due to r20066 (#33289).
git-svn-id: http://svn.redmine.org/redmine/trunk@20093 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/enumeration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/enumeration.rb b/app/models/enumeration.rb
index dfa6ba49f..b5ee7b811 100644
--- a/app/models/enumeration.rb
+++ b/app/models/enumeration.rb
@@ -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