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