From 7d0194e620b7ee50b50b9689b67d7b8e68be0f34 Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 13 Nov 2019 12:26:30 +0800 Subject: [PATCH] Update _writing_book.html.erb fix the problem of showing author --- app/views/admin/books/_writing_book.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/books/_writing_book.html.erb b/app/views/admin/books/_writing_book.html.erb index 47dcd36..2b5065e 100644 --- a/app/views/admin/books/_writing_book.html.erb +++ b/app/views/admin/books/_writing_book.html.erb @@ -12,6 +12,6 @@ - <%= writing_book.member_profile.name rescue "" %> + <%= get_member_show(writing_book).html_safe %> <% end %>