summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 09:18:29 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 09:18:29 +0000
commite264e05906a7cf9a57cf8301c4688176af79edda (patch)
tree2b8cb839c8daa844b84f9f8122132b9a9ffb2f3b /app
parent7edf7a009a7ba62bb43b5bdf72d613b4002429fe (diff)
downloadredmine-e264e05906a7cf9a57cf8301c4688176af79edda.tar.gz
redmine-e264e05906a7cf9a57cf8301c4688176af79edda.zip
cleanup: rubocop: fix Layout/AlignArguments in app/models/auth_source.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19001 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/auth_source.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/models/auth_source.rb b/app/models/auth_source.rb
index 13cc6c771..c8ec1f92f 100644
--- a/app/models/auth_source.rb
+++ b/app/models/auth_source.rb
@@ -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