From d7ac095b91117bf33ec4d0bcc6bd5419d3ef4514 Mon Sep 17 00:00:00 2001 From: Saurabh Bhatia Date: Wed, 9 Jul 2014 14:40:03 +0800 Subject: [PATCH] fix backend URL display --- app/models/book.rb | 1 + 1 file changed, 1 insertion(+) 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?