From f6e74071ce66b56eee758d6609df8c2eab57871f Mon Sep 17 00:00:00 2001 From: Eric Tsai Date: Tue, 31 Dec 2019 15:18:40 +0800 Subject: [PATCH] change to new member front page generator --- app/controllers/personal_honors_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/personal_honors_controller.rb b/app/controllers/personal_honors_controller.rb index 608ac8a..5313e98 100644 --- a/app/controllers/personal_honors_controller.rb +++ b/app/controllers/personal_honors_controller.rb @@ -35,7 +35,7 @@ class PersonalHonorsController < ApplicationController when "authors" member_profile = honor.send(:member_profile) role_status_id = member_profile.role_status_ids.first.to_s - link = OrbitHelper.member_url_to_show(member_profile.to_param, role_status_id) rescue '#' + link = OrbitHelper.url_to_plugin_show(member_profile.to_param, 'member') rescue '#' t << {"value" => "" + (member_profile.name rescue "") + "" } when "award_date" t << {"value" => (honor.send(fs).strftime("%Y/%m") rescue "")}