diff --git a/app/models/book.rb b/app/models/book.rb index 87ff523..b871f30 100644 --- a/app/models/book.rb +++ b/app/models/book.rb @@ -171,8 +171,8 @@ class Book files = [] self.book_files.each do |book_file| url = book_file.member_book_file.url - title = (book_file.title.blank? ? File.basename(book_file.member_book_file.path) : book_file.title) - files << "