From 7a0e6697756e690bb97bf25ce0edc25e74718bc0 Mon Sep 17 00:00:00 2001 From: Eric Tsai Date: Thu, 2 Jan 2020 11:56:37 +0800 Subject: [PATCH] add link to member front page for show view --- app/models/book.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/book.rb b/app/models/book.rb index a67e0ba..9584d94 100644 --- a/app/models/book.rb +++ b/app/models/book.rb @@ -180,7 +180,7 @@ class Book when "url" value = self.url.to_s.blank? ? "" : "#{self.url}" when "authors" - value = get_authors_show(self) + value = get_member_show(self) rescue "#" else value = (self.send(field) rescue "") end @@ -203,4 +203,4 @@ class Book self.url = 'http://' + self.url end end -end \ No newline at end of file +end