From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 09:17:56 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/AlignArguments in app/models/user_preference.rb X-Git-Tag: 4.1.0~106 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=894aa10ffcb69f856314a80c427bee1022989710;p=redmine.git 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 --- 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']