Skip to content

Commit

Permalink
Merge pull request #3404 from virtualize/fix-tagging-71
Browse files Browse the repository at this point in the history
[TaggingBundle] fixed base route name
  • Loading branch information
acrobat authored Apr 20, 2024
2 parents 05c3043 + 97083cd commit 5580f18
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Kunstmaan/TaggingBundle/AdminList/TagAdminListConfigurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,18 @@ public function getEntityClass(): string
{
return Tag::class;
}

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

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

0 comments on commit 5580f18

Please sign in to comment.