Skip to content

Commit

Permalink
Fixing the type()-finder-function (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfaber authored Oct 1, 2024
1 parent 8bb761e commit 5feb2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/Cp/SeoDefaultsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,6 @@ protected function breadcrumbs(): Breadcrumbs

protected function type(): string
{
return request()->segments()[2];
return collect(request()->segments())->after('advanced-seo');
}
}

0 comments on commit 5feb2bb

Please sign in to comment.