From 7a36c0ee2eeaec29029fdf687f0fe244a2fd6ba4 Mon Sep 17 00:00:00 2001 From: Eric Tsai Date: Tue, 31 Dec 2019 16:11:19 +0800 Subject: [PATCH] add exception solution --- 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 52a47c9..536f1f7 100644 --- a/app/models/honor.rb +++ b/app/models/honor.rb @@ -99,7 +99,7 @@ class Honor def get_plugin_field_data(field) case field when "honoree" - path = OrbitHelper.url_to_plugin_show(self.member_profile.to_param, 'member') + path = OrbitHelper.url_to_plugin_show(self.member_profile.to_param, 'member') rescue '#' value = "" + self.member_profile.name + "" when "language" value = I18n.t(self.language) rescue ""