From f4c631ac9254dc660877657e4ec21fa5250de92e Mon Sep 17 00:00:00 2001 From: Tomislav Simnett Date: Thu, 2 May 2024 15:00:52 +0100 Subject: [PATCH] Fixes #1368 (#1369) --- app/models/spina/parts/page_link.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/spina/parts/page_link.rb b/app/models/spina/parts/page_link.rb index e5a204dac..62317b4b0 100644 --- a/app/models/spina/parts/page_link.rb +++ b/app/models/spina/parts/page_link.rb @@ -6,7 +6,7 @@ class PageLink < Base attr_accessor :options def content - Page.live.find_by(id: page_id) + ::Spina::Page.live.find_by(id: page_id) end end end