From 1cfd6c3f293f462cd46d43a7d393474f80804f9d Mon Sep 17 00:00:00 2001 From: wmcheng Date: Tue, 4 Dec 2018 22:57:50 +0800 Subject: [PATCH] Update book.rb add title --- app/models/book.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/book.rb b/app/models/book.rb index 18a969e..7b6527e 100644 --- a/app/models/book.rb +++ b/app/models/book.rb @@ -107,7 +107,7 @@ class Book if !page.nil? && page.custom_string_field == "table" case t when "book_title", "extracted_chapters" - pd_data << { "data_title" => "#{p.send(t)}" } + pd_data << { "data_title" => "#{p.send(t)}" } when "publish_date", "publication_date" pd = "" if !p.publication_date.nil?