From 894aa10ffcb69f856314a80c427bee1022989710 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 09:17:56 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/AlignArguments in app/models/user_preference.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18997 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/user_preference.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/models/user_preference.rb b/app/models/user_preference.rb index cd94486a3..597ac9c90 100644 --- a/app/models/user_preference.rb +++ b/app/models/user_preference.rb @@ -27,14 +27,15 @@ class UserPreference < ActiveRecord::Base before_save :set_others_hash, :clear_unused_block_settings - safe_attributes 'hide_mail', + safe_attributes( + 'hide_mail', 'time_zone', 'comments_sorting', 'warn_on_leaving_unsaved', 'no_self_notified', 'textarea_font', 'recently_used_projects', - 'history_default_tab' + 'history_default_tab') TEXTAREA_FONT_OPTIONS = ['monospace', 'proportional'] -- 2.39.5