1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-31 12:49:38 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-11-24 16:44:50 +00:00
parent 05ab4e13de
commit 430236a2af

View File

@ -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