diff --git a/lib/doc_my_routes/doc/route_collection.rb b/lib/doc_my_routes/doc/route_collection.rb index 5a3f8d7..12ffd00 100644 --- a/lib/doc_my_routes/doc/route_collection.rb +++ b/lib/doc_my_routes/doc/route_collection.rb @@ -20,7 +20,7 @@ def log_routes namespace = format('%-50s', app_routes.first.namespace) DocMyRoutes.logger.debug "Adding route to #{namespace} - #{app_name}" - app_routes.each { |rte| logger.debug " - #{rte}" } + app_routes.each { |rte| DocMyRoutes.logger.debug " - #{rte}" } end end end