fix error
This commit is contained in:
parent
cc81f41a57
commit
4e1adcd0e3
|
@ -31,7 +31,8 @@ class JournalPaper
|
|||
# paginates_per 10
|
||||
|
||||
#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
|
||||
has_and_belongs_to_many :journal_types
|
||||
|
||||
|
|
Loading…
Reference in New Issue