summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 09:17:56 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 09:17:56 +0000
commit894aa10ffcb69f856314a80c427bee1022989710 (patch)
tree0887145dd17a029bc443df03354185ac9ec1ae70 /app
parent58b2d8e627253a258df75ba4bd52c6db98ac31ee (diff)
downloadredmine-894aa10ffcb69f856314a80c427bee1022989710.tar.gz
redmine-894aa10ffcb69f856314a80c427bee1022989710.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/models/user_preference.rb5
1 files 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']