Skip to content

Commit

Permalink
Merge pull request #3414 from virtualize/fix-admin-exception-route-71
Browse files Browse the repository at this point in the history
[AdminBundle] fixed base route name for exception admin lists
  • Loading branch information
acrobat authored Apr 28, 2024
2 parents 8640989 + c05533e commit 9c6560b
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,18 @@ public function getEntityClass(): string
{
return Exception::class;
}

/**
* @param string|null $suffix
*
* @return string
*/
public function getPathByConvention($suffix = null)
{
if (null === $suffix || $suffix === '') {
return 'kunstmaanadminbundle_admin_exception';
}

return sprintf('kunstmaanadminbundle_admin_exception_%s', $suffix);
}
}

0 comments on commit 9c6560b

Please sign in to comment.