summaryrefslogtreecommitdiffstats
path: root/app/models/repository/git.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/repository/git.rb')
-rw-r--r--app/models/repository/git.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/repository/git.rb b/app/models/repository/git.rb
index 586a6e5ef..86507acbc 100644
--- a/app/models/repository/git.rb
+++ b/app/models/repository/git.rb
@@ -22,12 +22,12 @@ class Repository::Git < Repository
attr_protected :root_url
validates_presence_of :url
- def self.human_attribute_name(attribute_key_name)
+ def self.human_attribute_name(attribute_key_name, *args)
attr_name = attribute_key_name
if attr_name == "url"
attr_name = "path_to_repository"
end
- super(attr_name)
+ super(attr_name, *args)
end
def self.scm_adapter_class