From bd5758e3d096fa83f4ceeb6a180a6dbfaf1f97a3 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 06:54:50 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/AlignArguments in app/models/group.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18994 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/group.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/models/group.rb b/app/models/group.rb index 994ca49a0..21166f1af 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -39,11 +39,12 @@ class Group < Principal scope :named, lambda {|arg| where("LOWER(#{table_name}.lastname) = LOWER(?)", arg.to_s.strip)} scope :givable, lambda {where(:type => 'Group')} - safe_attributes 'name', + safe_attributes( + 'name', 'user_ids', 'custom_field_values', 'custom_fields', - :if => lambda {|group, user| user.admin? && !group.builtin?} + :if => lambda {|group, user| user.admin? && !group.builtin?}) def to_s name.to_s -- 2.39.5