diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-16 17:56:42 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-16 17:56:42 +0000 |
commit | 954fd97d002585926b9c9f24a841d6a11d66ab25 (patch) | |
tree | 1d6968b496be77ed8408f746573dd68f43a51132 /railties | |
parent | ee014ef95ae9746b4228f3bc7c85ac0df28ba1df (diff) | |
download | rails-954fd97d002585926b9c9f24a841d6a11d66ab25.tar.gz rails-954fd97d002585926b9c9f24a841d6a11d66ab25.tar.bz2 rails-954fd97d002585926b9c9f24a841d6a11d66ab25.zip |
New adventures in dependency reloading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@430 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/dispatcher.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/dispatcher.rb b/railties/lib/dispatcher.rb index 05cbab4265..eed6db574f 100644 --- a/railties/lib/dispatcher.rb +++ b/railties/lib/dispatcher.rb @@ -50,7 +50,7 @@ class Dispatcher def reset_application(controller_name) ActiveRecord::Base.reset_column_information_and_inheritable_attributes_for_all_subclasses Dependencies.clear - remove_class_hierarchy(controller_class(controller_name), ApplicationController) + remove_class_hierarchy(controller_class(controller_name), ActionController::Base) end def controller_path(controller_name, module_name = nil) |