fix backend URL display

This commit is contained in:
Saurabh Bhatia 2014-07-09 14:40:03 +08:00
parent 00ec7b9177
commit d7ac095b91
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ class Book
def create_link def create_link
title = [] 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_authors.collect{|j| j.name}.join(', ')}" if self.book_authors.present?
title << self.book_title if self.book_title.present? title << self.book_title if self.book_title.present?
title << self.publisher if self.publisher.present? title << self.publisher if self.publisher.present?