Permalink
Browse files

Remove a bad rule from Inflector->pluralize(). Caused issues with wor…

…ds ending in "ies".
  • Loading branch information...
Brad Griffith
Brad Griffith committed Jan 22, 2015
1 parent 9975b76 commit cf1f7cfb9b00656d0eb82e27dbf0b8e58045ba95
Showing with 0 additions and 1 deletion.
  1. +0 −1 Dewdrop/Inflector.php
@@ -40,7 +40,6 @@ public function pluralize($word)
'/([m|l])ouse$/i' => '\1ice',
'/(matr|vert|ind)ix|ex$/i' => '\1ices',
'/(x|ch|ss|sh)$/i' => '\1es',
'/([^aeiouy]|qu)ies$/i' => '\1y',
'/([^aeiouy]|qu)y$/i' => '\1ies',
'/(hive)$/i' => '\1s',
'/(?:([^f])fe|([lr])f)$/i' => '\1\2ves',

0 comments on commit cf1f7cf

Please sign in to comment.