diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-11-23 20:20:50 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-11-23 20:20:50 -0600 |
commit | 15ab3a98a1b6f9b829060ba974048b33466f6814 (patch) | |
tree | 17ffc94d9ddb1144e8367ccda2e3fd17d238bf8b /actionpack/lib/action_dispatch/routing/route_set.rb | |
parent | f987e8561c2fdbf5f6ade34d68f66b6e7e19d8d3 (diff) | |
download | rails-15ab3a98a1b6f9b829060ba974048b33466f6814.tar.gz rails-15ab3a98a1b6f9b829060ba974048b33466f6814.tar.bz2 rails-15ab3a98a1b6f9b829060ba974048b33466f6814.zip |
Find all controllers in memory to use for routing
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/route_set.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index c15aaceb5b..79e15edeaa 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -246,7 +246,9 @@ module ActionDispatch end def load! - Routing.use_controllers!(nil) # Clear the controller cache so we may discover new ones + # Clear the controller cache so we may discover new ones + Routing.clear_controller_cache! + load_routes! end |