diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-22 20:44:29 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-22 20:44:38 +0100 |
commit | c8cc8a987213bf90fe6922517d52befb7c0587a8 (patch) | |
tree | 55a434ec6ee336f97dc7e9e27c18d9c27d755d62 /actionpack/lib/action_controller | |
parent | 4ae79367277954bf6616151b03cbe0660808f9bd (diff) | |
download | rails-c8cc8a987213bf90fe6922517d52befb7c0587a8.tar.gz rails-c8cc8a987213bf90fe6922517d52befb7c0587a8.tar.bz2 rails-c8cc8a987213bf90fe6922517d52befb7c0587a8.zip |
Moved more configuration away from bootstrap.
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/railtie.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/actionpack/lib/action_controller/railtie.rb b/actionpack/lib/action_controller/railtie.rb index 621dd9373c..6b270d1136 100644 --- a/actionpack/lib/action_controller/railtie.rb +++ b/actionpack/lib/action_controller/railtie.rb @@ -22,15 +22,5 @@ module ActionController initializer "action_controller.initialize_framework_caches" do ActionController::Base.cache_store ||= RAILS_CACHE end - - # Sets +ActionController::Base#view_paths+ and +ActionMailer::Base#template_root+ - # (but only for those frameworks that are to be loaded). If the framework's - # paths have already been set, it is not changed, otherwise it is - # set to use Configuration#view_path. - initializer "action_controller.initialize_framework_views" do |app| - # TODO: this should be combined with the logic for default config.action_controller.view_paths - ActionController::Base.view_paths = [] if ActionController::Base.view_paths.blank? - end - end end |