diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-02 14:10:22 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-02 14:10:22 -0600 |
commit | 8db038227ca4cbcba01a86ef5fb94cb13c780463 (patch) | |
tree | b03e34fa0800175021719994fb6f1d04488e22d3 /railties | |
parent | 4dee277a9bc05083de6c831cf9aae0846849ecda (diff) | |
download | rails-8db038227ca4cbcba01a86ef5fb94cb13c780463.tar.gz rails-8db038227ca4cbcba01a86ef5fb94cb13c780463.tar.bz2 rails-8db038227ca4cbcba01a86ef5fb94cb13c780463.zip |
Move controller namespace tracking into route set so it gets
reloaded in dev mode
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index 7ea79aa9c9..73198d68ca 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -387,7 +387,7 @@ module Rails initializer :initialize_routing do next unless configuration.frameworks.include?(:action_controller) - ActionController::Routing.controller_paths += configuration.controller_paths + ActionController::Routing::Routes.controller_paths += configuration.controller_paths ActionController::Routing::Routes.add_configuration_file(configuration.routes_configuration_file) ActionController::Routing::Routes.reload! end |