diff --git a/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorPage.php b/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorPage.php index 1814202bee3..efcd014c309 100644 --- a/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorPage.php +++ b/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorPage.php @@ -5,9 +5,6 @@ namespace Hyde\Framework\Features\Blogging\DynamicPages; use Hyde\Pages\InMemoryPage; -use Hyde\Support\Models\Route; -use Hyde\Support\Models\RouteKey; -use Hyde\Foundation\Facades\Routes; use Hyde\Framework\Features\Blogging\Models\PostAuthor; /** @@ -38,9 +35,4 @@ public function getBladeView(): string { return static::$layout; } - - public static function route(string $username): ?Route - { - return Routes::get(RouteKey::fromPage(static::class, $username)->get()); - } } diff --git a/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorsPage.php b/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorsPage.php index bb337b4910f..a903d16bf64 100644 --- a/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorsPage.php +++ b/packages/framework/src/Framework/Features/Blogging/DynamicPages/PostAuthorsPage.php @@ -5,10 +5,7 @@ namespace Hyde\Framework\Features\Blogging\DynamicPages; use Hyde\Pages\InMemoryPage; -use Hyde\Support\Models\Route; -use Hyde\Support\Models\RouteKey; use Illuminate\Support\Collection; -use Hyde\Foundation\Facades\Routes; /** * @experimental @@ -42,9 +39,4 @@ public function getBladeView(): string { return static::$layout; } - - public static function route(): ?Route - { - return Routes::get(RouteKey::fromPage(static::class, 'index')->get()); - } }