diff --git a/app/models/project.rb b/app/models/project.rb index aadcb5a..bec396e 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -133,8 +133,8 @@ class Project files = [] self.project_files.each do |project_file| url = project_file.file.url - title = (project_file.title.blank? ? File.basename(project_file.file.path) : project_file.title) - files << "