diff options
Diffstat (limited to 'railties/environments/shared.rb')
-rw-r--r-- | railties/environments/shared.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/environments/shared.rb b/railties/environments/shared.rb index 8e36ae6670..f8a8e8cb6f 100644 --- a/railties/environments/shared.rb +++ b/railties/environments/shared.rb @@ -39,6 +39,8 @@ require_dependency "environments/#{RAILS_ENV}" ActiveRecord::Base.configurations = YAML::load(File.open("#{RAILS_ROOT}/config/database.yml")) ActiveRecord::Base.establish_connection +Controllers = Dependencies::LoadingModule.new(File.expand_path(File.join(RAILS_ROOT, 'app', 'controllers'))) + # Configure defaults if the included environment did not. begin |