diff --git a/app/models/patent.rb b/app/models/patent.rb index c4a4f0e..dc807ef 100644 --- a/app/models/patent.rb +++ b/app/models/patent.rb @@ -132,8 +132,8 @@ class Patent files = [] self.patent_files.each do |patent_file| url = patent_file.file.url - title = (patent_file.title.blank? ? File.basename(patent_file.file.path) : patent_file.title) - files << "