removed dependent from journal file
This commit is contained in:
parent
8c59b6929f
commit
ce025b855e
|
@ -8,5 +8,5 @@ class JournalPaperFile
|
||||||
field :should_destroy, type: Boolean
|
field :should_destroy, type: Boolean
|
||||||
|
|
||||||
mount_uploader :journal_file, AssetUploader
|
mount_uploader :journal_file, AssetUploader
|
||||||
belongs_to :journal_paper, dependent: :destroy
|
belongs_to :journal_paper
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue