From 8e9f421c135c28143a0444e1932d60141114a005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com> Date: Thu, 13 Jan 2022 14:17:36 +0100 Subject: [PATCH] fix --- app/models/university/person.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/university/person.rb b/app/models/university/person.rb index 1012cf47e..3e87ec79f 100644 --- a/app/models/university/person.rb +++ b/app/models/university/person.rb @@ -63,7 +63,7 @@ class University::Person < ApplicationRecord dependent: :nullify has_many :communication_website_imported_authors, - class_name: "Communiation::Website::Imported::Author", + class_name: "Communication::Website::Imported::Author", foreign_key: :author_id, dependent: :destroy -- GitLab