diff options
author | Nicholas Seckar <nseckar@gmail.com> | 2006-02-04 05:41:58 +0000 |
---|---|---|
committer | Nicholas Seckar <nseckar@gmail.com> | 2006-02-04 05:41:58 +0000 |
commit | 38aae1b122325816592cc9cc4c31e35bad38cd1f (patch) | |
tree | faeb68b53bf99b16bc904793794952c90b6d25a3 /actionpack | |
parent | dfa6e14af67f3c3532cf9645f6ce4b709f0b70f8 (diff) | |
download | rails-38aae1b122325816592cc9cc4c31e35bad38cd1f.tar.gz rails-38aae1b122325816592cc9cc4c31e35bad38cd1f.tar.bz2 rails-38aae1b122325816592cc9cc4c31e35bad38cd1f.zip |
Remove unneeded logging
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/routing.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/routing.rb b/actionpack/lib/action_controller/routing.rb index fe0d7be541..47bf3c9d87 100644 --- a/actionpack/lib/action_controller/routing.rb +++ b/actionpack/lib/action_controller/routing.rb @@ -233,12 +233,9 @@ module ActionController 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 |