1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-06 15:41:33 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-11-08 02:09:17 +00:00
parent 5ee9e0f49c
commit 89ba5ae630

View File

@ -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