Permalink
Browse files

Remove unneeded logging

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent dfa6e14 commit 38aae1b122325816592cc9cc4c31e35bad38cd1f @seckar seckar committed Feb 4, 2006
Showing with 1 addition and 4 deletions.
  1. +1 −4 actionpack/lib/action_controller/routing.rb
@@ -233,12 +233,9 @@ def traverse_to_controller(segments, start_at = 0)
controller_name = "#{mod_name}Controller"
suppress(NameError) do
- ActionController::Base.logger.info("Looking for #{controller_name}")
controller = eval("mod::#{controller_name}", nil, __FILE__, __LINE__)
- ActionController::Base.logger.info("Found")
- # Detect the case when const_get returns an object from a parent namespace.
- ActionController::Base.logger.info("#{controller.name} == #{mod.name}::#{controller_name}")
+ # Detect the case when const_get returns an object from a parent namespace.
if mod == Object || controller.name == "#{mod.name}::#{controller_name}"
return controller, (index - start_at)
end

0 comments on commit 38aae1b

Please sign in to comment.