summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 16:44:50 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 16:44:50 +0000
commit430236a2af7ab6749c61039b7a45a6205a70b200 (patch)
tree1861eee1848ee9b8827ec2e084688716725db51e /app
parent05ab4e13dee6e32efed0b1682baad0934e2033ed (diff)
downloadredmine-430236a2af7ab6749c61039b7a45a6205a70b200.tar.gz
redmine-430236a2af7ab6749c61039b7a45a6205a70b200.zip
cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/enumeration.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19270 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/enumeration.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/enumeration.rb b/app/models/enumeration.rb
index 3453552a5..70dda077b 100644
--- a/app/models/enumeration.rb
+++ b/app/models/enumeration.rb
@@ -105,7 +105,8 @@ class Enumeration < ActiveRecord::Base
# Does the +new+ Hash override the previous Enumeration?
def self.overriding_change?(new, previous)
- if (same_active_state?(new['active'], previous.active)) && same_custom_values?(new,previous)
+ if (same_active_state?(new['active'], previous.active)) &&
+ same_custom_values?(new, previous)
return false
else
return true