parent
aed8cc0e3e
commit
3f34af4ed0
@ -1,3 +1,4 @@
|
|||||||
class Journal < ApplicationRecord
|
class Journal < ApplicationRecord
|
||||||
belongs_to :user
|
belongs_to :user
|
||||||
|
belongs_to :issue, foreign_key: :journalized_id
|
||||||
end
|
end
|
Loading…
Reference in new issue