lib/hanami/utils/inflector.rb in hanami-utils-1.0.1 vs lib/hanami/utils/inflector.rb in hanami-utils-1.0.2
- old
+ new
@@ -265,10 +265,11 @@
'series' => 'series',
'sheep' => 'sheep',
'species' => 'species',
'police' => 'police',
# fallback
- 'hives' => 'hive'
+ 'hives' => 'hive',
+ 'phases' => 'phase'
)
# Block for custom inflection rules.
#
# @param [Proc] blk custom inflections