lib/hanami/action/routing_helpers.rb in hanami-1.0.0 vs lib/hanami/action/routing_helpers.rb in hanami-1.1.0.beta1

- old
+ new

@@ -23,10 +23,10 @@ # end # end # end module RoutingHelpers def self.included(base) - factory = "#{Utils::String.new(base).namespace}.routes" + factory = "#{Utils::String.namespace(base)}.routes" base.class_eval <<-END_EVAL, __FILE__, __LINE__ private def routes