From 663fe291daef03b640a8ffb4725166c16476d6af Mon Sep 17 00:00:00 2001 From: wmcheng Date: Tue, 4 Dec 2018 23:08:01 +0800 Subject: [PATCH] Update journal_paper.rb add title --- app/models/journal_paper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/journal_paper.rb b/app/models/journal_paper.rb index 285f37d..0152181 100644 --- a/app/models/journal_paper.rb +++ b/app/models/journal_paper.rb @@ -131,7 +131,7 @@ class JournalPaper end else if t == "paper_title" - pd_data << { "data_title" => "#{p.create_link}" } + pd_data << { "data_title" => "#{p.create_link}" } else pd_data << { "data_title" => p.send(t) } end