Skip to content

Instantly share code, notes, and snippets.

@nsnt
Created October 25, 2013 09:48
Show Gist options
  • Save nsnt/7152247 to your computer and use it in GitHub Desktop.
Save nsnt/7152247 to your computer and use it in GitHub Desktop.
diff --git a/lib/cloud_controller/rest_controller/routes.rb b/lib/cloud_controller/rest_controller/routes.rb
index 532a302..0dcb6b3 100644
--- a/lib/cloud_controller/rest_controller/routes.rb
+++ b/lib/cloud_controller/rest_controller/routes.rb
@@ -18,6 +18,7 @@ module VCAP::CloudController::RestController
blk.yield(api, *args)
end
end
+ puts "Defined route: '#{verb}' '#{path}' -> '#{klass}': '#{method.to_s}' / {#{blk.to_s}}"
end
[:post, :get, :put, :delete].each do |verb|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment