@@ -23,7 +23,7 class Repository::Git < Repository | |||||
23 | validates_presence_of :url |
|
23 | validates_presence_of :url | |
24 |
|
24 | |||
25 | def self.human_attribute_name(attribute_key_name, *args) |
|
25 | def self.human_attribute_name(attribute_key_name, *args) | |
26 | attr_name = attribute_key_name |
|
26 | attr_name = attribute_key_name.to_s | |
27 | if attr_name == "url" |
|
27 | if attr_name == "url" | |
28 | attr_name = "path_to_repository" |
|
28 | attr_name = "path_to_repository" | |
29 | end |
|
29 | end |
General Comments 0
You need to be logged in to leave comments.
Login now