diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 06:54:50 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 06:54:50 +0000 |
commit | bd5758e3d096fa83f4ceeb6a180a6dbfaf1f97a3 (patch) | |
tree | 99c47d95a4af48a35a426884f3517e0023dcccff /app/models | |
parent | aef9b581688bdbd5c7054edcd41fc31de99be1e3 (diff) | |
download | redmine-bd5758e3d096fa83f4ceeb6a180a6dbfaf1f97a3.tar.gz redmine-bd5758e3d096fa83f4ceeb6a180a6dbfaf1f97a3.zip |
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
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/group.rb | 5 |
1 files 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 |