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