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