From 287614c4e681e0dee055669a18f000a09476423f Mon Sep 17 00:00:00 2001 From: bohung Date: Thu, 15 Dec 2022 18:18:41 +0800 Subject: [PATCH] Fix link. --- app/models/research.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/research.rb b/app/models/research.rb index a59d3c2..3d792dd 100644 --- a/app/models/research.rb +++ b/app/models/research.rb @@ -79,7 +79,7 @@ class Research link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_research') url_to_plugin_show_blank = OrbitHelper.instance_variable_get(:@url_to_plugin_show_blank) tmp_title = p.research_title - pd_data << { "data_title" => (url_to_plugin_show_blank ? tmp_title : "#{tmp_title}") } + pd_data << { "data_title" => (url_to_plugin_show_blank ? tmp_title : "#{tmp_title}") } elsif t == "research_category" pd_data << {"data_title" => (p.research_category.title rescue "")} else