fix backend URL display
This commit is contained in:
parent
00ec7b9177
commit
d7ac095b91
|
@ -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?
|
||||||
|
|
Loading…
Reference in New Issue