diff options
author | Justin Mazzi <jmazzi@gmail.com> | 2012-07-31 22:26:00 -0400 |
---|---|---|
committer | Justin Mazzi <jmazzi@gmail.com> | 2012-08-01 08:45:25 -0400 |
commit | 083ddec719c59c75acb331c6b22a25f8f2c42c9e (patch) | |
tree | e7630dedc59d84a7066df8ae290230bdb4ff2dd6 /railties/lib/rails | |
parent | 3d55957c3d024e592f847b1128e939038f3588a7 (diff) | |
download | rails-083ddec719c59c75acb331c6b22a25f8f2c42c9e.tar.gz rails-083ddec719c59c75acb331c6b22a25f8f2c42c9e.tar.bz2 rails-083ddec719c59c75acb331c6b22a25f8f2c42c9e.zip |
Restoring documentation for env_config per #7070
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/application.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index 048219002d..3531728421 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -102,6 +102,17 @@ module Rails # Stores some of the Rails initial environment parameters which # will be used by middlewares and engines to configure themselves. + # Currently stores: + # + # * "action_dispatch.parameter_filter" => config.filter_parameters, + # * "action_dispatch.secret_token" => config.secret_token, + # * "action_dispatch.show_exceptions" => config.action_dispatch.show_exceptions, + # * "action_dispatch.show_detailed_exceptions" => config.consider_all_requests_local, + # * "action_dispatch.logger" => Rails.logger, + # * "action_dispatch.backtrace_cleaner" => Rails.backtrace_cleaner + # + # These parameters will be used by middlewares and engines to configure themselves + # def env_config @env_config ||= super.merge({ "action_dispatch.parameter_filter" => config.filter_parameters, |