From b7559f2809729e36bd56bff00c8ba05337564c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com> Date: Thu, 28 Oct 2021 11:31:21 +0200 Subject: [PATCH] fix --- app/models/communication/website/imported/page.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/communication/website/imported/page.rb b/app/models/communication/website/imported/page.rb index 1ccfe98ba..ccdaa3d6c 100644 --- a/app/models/communication/website/imported/page.rb +++ b/app/models/communication/website/imported/page.rb @@ -44,7 +44,7 @@ class Communication::Website::Imported::Page < ApplicationRecord belongs_to :page, class_name: 'Communication::Website::Page', optional: true - alias_attribute :generated_object, :category + alias_attribute :generated_object, :page belongs_to :featured_medium, class_name: 'Communication::Website::Imported::Medium', optional: true -- GitLab