Created
October 25, 2013 09:48
-
-
Save nsnt/7152247 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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