新增member_profiles=

This commit is contained in:
chiu 2023-05-26 12:55:44 +00:00
parent def145d70d
commit 6e0244db2c
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ class JournalPaper
scope :sort_for_frontend, ->{ where(:is_hidden=>false).order_by(:year => "desc", :publication_date => "desc", :id=>"desc") } 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 :member_profiles=, :member_profile=
alias_method :org_member_profile=, :member_profile= alias_method :org_member_profile=, :member_profile=
def create_link def create_link