lib/hanami/routing/resources.rb in hanami-router-1.0.1 vs lib/hanami/routing/resources.rb in hanami-router-1.1.0.beta1

- old
+ new

@@ -39,10 +39,10 @@ # Return wildcard param between separators # # @api private # @since 0.4.0 def wildcard_param(route_param = nil) - "/:#{ Hanami::Utils::String.new(route_param).singularize }_id/" + "/:#{ Hanami::Utils::String.singularize(route_param) }_id/" end end end end