From 6e0244db2c931731687da568d90adab90c581f85 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 26 May 2023 12:55:44 +0000 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Emember=5Fprofiles=3D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/journal_paper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/journal_paper.rb b/app/models/journal_paper.rb index daad0b6..70105ae 100644 --- a/app/models/journal_paper.rb +++ b/app/models/journal_paper.rb @@ -55,6 +55,7 @@ class JournalPaper scope :sort_for_frontend, ->{ where(:is_hidden=>false).order_by(:year => "desc", :publication_date => "desc", :id=>"desc") } alias_method :member_profiles, :member_profile + alias_method :member_profiles=, :member_profile= alias_method :org_member_profile=, :member_profile= def create_link