forked from saurabh/personal-journal
新增member_profiles=
This commit is contained in:
parent
def145d70d
commit
6e0244db2c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue