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