diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-07-18 23:23:54 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-09-03 22:59:04 +0200 |
commit | 7cccfed5943cddd6d72ed0df0ee7291cca9025ad (patch) | |
tree | 5750097c50f8359a4a83ffce97e41d60d9d87af6 /railties/lib/rails/engine | |
parent | 15f95b98ac048407a1ce6873bb02fc5fbb6c991c (diff) | |
download | rails-7cccfed5943cddd6d72ed0df0ee7291cca9025ad.tar.gz rails-7cccfed5943cddd6d72ed0df0ee7291cca9025ad.tar.bz2 rails-7cccfed5943cddd6d72ed0df0ee7291cca9025ad.zip |
Allow Engines loading its own environment file from config/environments
Diffstat (limited to 'railties/lib/rails/engine')
-rw-r--r-- | railties/lib/rails/engine/configuration.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/engine/configuration.rb b/railties/lib/rails/engine/configuration.rb index 06e7222753..bf3ad1f26b 100644 --- a/railties/lib/rails/engine/configuration.rb +++ b/railties/lib/rails/engine/configuration.rb @@ -28,6 +28,7 @@ module Rails paths.config.initializers "config/initializers", :glob => "**/*.rb" paths.config.locales "config/locales", :glob => "*.{rb,yml}" paths.config.routes "config/routes.rb" + paths.config.environments "config/environments", :glob => "#{Rails.env}.rb" paths.public "public" paths.public.javascripts "public/javascripts" paths.public.stylesheets "public/stylesheets" |