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

app/models/auth_source.rb

index 13cc6c771a5767f96c38f779fde85db385aa26b8..c8ec1f92f29d7280923f2235583e8d9023094d1c 100644 (file)
@@ -33,7 +33,8 @@ class AuthSource < ActiveRecord::Base
   validates_uniqueness_of :name
   validates_length_of :name, :maximum => 60
 
-  safe_attributes 'name',
+  safe_attributes(
+    'name',
     'host',
     'port',
     'account',
@@ -47,7 +48,7 @@ class AuthSource < ActiveRecord::Base
     'tls',
     'verify_peer',
     'filter',
-    'timeout'
+    'timeout')
 
   def authenticate(login, password)
   end