diff --git a/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorPage.php b/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorPage.php index 55c2762bdd4..1729126072a 100644 --- a/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorPage.php +++ b/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorPage.php @@ -18,7 +18,7 @@ class PostAuthorPage extends InMemoryPage public function __construct(PostAuthor $author) { - parent::__construct("author/$author->username"); + parent::__construct("authors/$author->username"); } public function getBladeView(): string diff --git a/packages/framework/tests/Feature/DynamicAuthorPagesTest.php b/packages/framework/tests/Feature/DynamicAuthorPagesTest.php index e11afe6bd0e..7c379f59975 100644 --- a/packages/framework/tests/Feature/DynamicAuthorPagesTest.php +++ b/packages/framework/tests/Feature/DynamicAuthorPagesTest.php @@ -31,8 +31,8 @@ public function testAuthorPagesAreGenerated() '_posts/jane_post_1.md', '_posts/jane_post_2.md', 'authors', - 'author/mr_hyde', - 'author/jane_doe', + 'authors/mr_hyde', + 'authors/jane_doe', // 'author/user123', // TODO: 'author/anonymous', // TODO: 'author/guest',