summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index 290664600..5b1d68111 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -49,7 +49,7 @@ class Repository < ActiveRecord::Base
end
def self.human_attribute_name(attribute_key_name, *args)
- attr_name = attribute_key_name
+ attr_name = attribute_key_name.to_s
if attr_name == "log_encoding"
attr_name = "commit_logs_encoding"
end