diff --git a/app/models/communication/website/imported/page.rb b/app/models/communication/website/imported/page.rb index 1ccfe98ba80bfe6051d04292c112dbfbd5618e55..ccdaa3d6c424273669b50a6ff4f41a3f1ff8e1b8 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