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