fix error

This commit is contained in:
邱博亞 2023-03-04 11:20:55 +08:00
parent cc81f41a57
commit 4e1adcd0e3
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ class JournalPaper
# paginates_per 10 # paginates_per 10
#relations #relations
belongs_to :member_profile has_and_belongs_to_many :member_profile, class_name: "MemberProfile", foreign_key: 'member_profile_id'
belongs_to :journal_paper_type belongs_to :journal_paper_type
has_and_belongs_to_many :journal_types has_and_belongs_to_many :journal_types