1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-04 06:39:38 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-11-09 09:17:56 +00:00
parent 58b2d8e627
commit 894aa10ffc

View File

@ -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']