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:
parent
5ee9e0f49c
commit
89ba5ae630
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user