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