Skip to content
This repository
Browse code

Restoring documentation for env_config per #7070

  • Loading branch information...
commit 083ddec719c59c75acb331c6b22a25f8f2c42c9e 1 parent 3d55957
Justin Mazzi authored July 31, 2012

Showing 1 changed file with 11 additions and 0 deletions. Show diff stats Hide diff stats

  1. 11  railties/lib/rails/application.rb
11  railties/lib/rails/application.rb
@@ -102,6 +102,17 @@ def reload_routes!
102 102
 
103 103
     # Stores some of the Rails initial environment parameters which
104 104
     # will be used by middlewares and engines to configure themselves.
  105
+    # Currently stores:
  106
+    #
  107
+    #   * "action_dispatch.parameter_filter"         => config.filter_parameters,
  108
+    #   * "action_dispatch.secret_token"             => config.secret_token,
  109
+    #   * "action_dispatch.show_exceptions"          => config.action_dispatch.show_exceptions,
  110
+    #   * "action_dispatch.show_detailed_exceptions" => config.consider_all_requests_local,
  111
+    #   * "action_dispatch.logger"                   => Rails.logger,
  112
+    #   * "action_dispatch.backtrace_cleaner"        => Rails.backtrace_cleaner
  113
+    #
  114
+    # These parameters will be used by middlewares and engines to configure themselves
  115
+    #
105 116
     def env_config
106 117
       @env_config ||= super.merge({
107 118
         "action_dispatch.parameter_filter" => config.filter_parameters,

0 notes on commit 083ddec

Please sign in to comment.
Something went wrong with that request. Please try again.