lib/hanami/action/routing_helpers.rb in hanami-0.8.0 vs lib/hanami/action/routing_helpers.rb in hanami-0.9.0
- old
+ new
@@ -23,16 +23,16 @@
# end
# end
# end
module RoutingHelpers
def self.included(base)
- factory = "#{ Utils::String.new(base).namespace }::Routes"
+ factory = "#{Utils::String.new(base).namespace}.routes"
base.class_eval <<-END_EVAL, __FILE__, __LINE__
private
def routes
- #{ factory }
+ #{factory}
end
END_EVAL
end
end
end