diff --git a/app/models/book.rb b/app/models/book.rb index 8b449d4..f91a59b 100644 --- a/app/models/book.rb +++ b/app/models/book.rb @@ -41,6 +41,7 @@ class Book def create_link title = [] + title << self.member_profile.name if self.member_profile.present? title << "#{self.book_authors.collect{|j| j.name}.join(', ')}" if self.book_authors.present? title << self.book_title if self.book_title.present? title << self.publisher if self.publisher.present?