From 876c93e59152cbc1783c2c185ed88a720c09dba4 Mon Sep 17 00:00:00 2001 From: Eric Tsai Date: Tue, 31 Dec 2019 15:59:38 +0800 Subject: [PATCH] add link to honoree front page for current honor --- app/models/honor.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/models/honor.rb b/app/models/honor.rb index 17fb646..52a47c9 100644 --- a/app/models/honor.rb +++ b/app/models/honor.rb @@ -99,7 +99,8 @@ class Honor def get_plugin_field_data(field) case field when "honoree" - value = self.member_profile.name + path = OrbitHelper.url_to_plugin_show(self.member_profile.to_param, 'member') + value = "" + self.member_profile.name + "" when "language" value = I18n.t(self.language) rescue "" when "honor_type" @@ -129,4 +130,4 @@ class Honor end end -end \ No newline at end of file +end