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