Skip to content

Commit

Permalink
Remove double-pluralization from getAllResourcePermissions
Browse files Browse the repository at this point in the history
  • Loading branch information
dissto committed Dec 11, 2024
1 parent 456fac1 commit 0213341
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/FilamentShield.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ public function getAllResourcePermissions(): array
? str(static::getLocalizedResourcePermissionLabel($permission))
->prepend(
str($resourceEntity['fqcn']::getPluralModelLabel())
->plural()
->title()
->append(' - ')
->toString()
Expand Down

0 comments on commit 0213341

Please sign in to comment.