]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/AlignArguments in app/models/user_preference.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 09:17:56 +0000 (09:17 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 09:17:56 +0000 (09:17 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18997 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/user_preference.rb

index cd94486a3b609e5c6b8985c93c266884b14f1241..597ac9c901c54632ceaaabe9a03a2758ba3b7515 100644 (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']