From 1452d586e6ad1779c8dd9797a799571162634dd9 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 12 Jul 2024 21:30:10 +0200 Subject: [PATCH] Publish the parent method --- .../Features/Blogging/DynamicPages/PostAuthorPage.php | 5 +++++ .../Features/Blogging/DynamicPages/PostAuthorsPage.php | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorPage.php b/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorPage.php index d2399f5ffd8..d98e8a7baa0 100644 --- a/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorPage.php +++ b/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorPage.php @@ -20,4 +20,9 @@ public function __construct(PostAuthor $author) { parent::__construct("author/$author->username"); } + + public function getBladeView(): string + { + return $this->view; + } } diff --git a/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorsPage.php b/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorsPage.php index a55cc648c6a..a050389dacc 100644 --- a/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorsPage.php +++ b/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorsPage.php @@ -23,4 +23,9 @@ public function __construct(Collection $authors) $this->authors = $authors; } + + public function getBladeView(): string + { + return $this->view; + } }