summaryrefslogtreecommitdiffstats
path: root/app/models/repository
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-08 02:09:17 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-08 02:09:17 +0000
commit89ba5ae630e0df53d07eb75016d665cc6e732599 (patch)
tree19d9344b5a54910de53b1d634b28a6c67ddf9ad7 /app/models/repository
parent5ee9e0f49cb73ed85483684b9a5417f1e217dad6 (diff)
downloadredmine-89ba5ae630e0df53d07eb75016d665cc6e732599.tar.gz
redmine-89ba5ae630e0df53d07eb75016d665cc6e732599.zip
cleanup: rubocop: fix Layout/AlignArguments in app/models/repository/cvs.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18943 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/repository')
-rw-r--r--app/models/repository/cvs.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/models/repository/cvs.rb b/app/models/repository/cvs.rb
index 1ef8c2223..c2f9fed25 100644
--- a/app/models/repository/cvs.rb
+++ b/app/models/repository/cvs.rb
@@ -23,8 +23,9 @@ require 'digest/sha1'
class Repository::Cvs < Repository
validates_presence_of :url, :root_url, :log_encoding
- safe_attributes 'root_url',
- :if => lambda {|repository, user| repository.new_record?}
+ safe_attributes(
+ 'root_url',
+ :if => lambda {|repository, user| repository.new_record?})
def self.human_attribute_name(attribute_key_name, *args)
attr_name = attribute_key_name.to_s