From 756244c6c4e63ed0ef30bb26d39e2f6769c1e791 Mon Sep 17 00:00:00 2001 From: bohung Date: Thu, 15 Dec 2022 18:17:37 +0800 Subject: [PATCH] Fix link. --- app/models/honor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/honor.rb b/app/models/honor.rb index ba14fbc..27666e2 100644 --- a/app/models/honor.rb +++ b/app/models/honor.rb @@ -80,7 +80,7 @@ class Honor link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_honor') url_to_plugin_show_blank = OrbitHelper.instance_variable_get(:@url_to_plugin_show_blank) tmp_title = p.award_name - 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 == "honor_type" pd_data << {"data_title" => (p.honor_type.title rescue "")} elsif t == "award_date"