diff options
author | José Valim <jose.valim@gmail.com> | 2010-03-26 18:47:55 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-26 18:47:55 +0100 |
commit | 395d6648ce7549f71dd0a76dc061e87f608aaaab (patch) | |
tree | 4dbb6eb54ff784143bf6e2f671057f0b8162dba5 /actionpack/lib/action_dispatch | |
parent | fc266d7ec2cf1d3f9daf585ea6b79b61467a175f (diff) | |
download | rails-395d6648ce7549f71dd0a76dc061e87f608aaaab.tar.gz rails-395d6648ce7549f71dd0a76dc061e87f608aaaab.tar.bz2 rails-395d6648ce7549f71dd0a76dc061e87f608aaaab.zip |
Move application configuration to the application configuration object, remove railtie_name and engine_name and allow to set the configuration object.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/railtie.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/railtie.rb b/actionpack/lib/action_dispatch/railtie.rb index e486bd4079..430c90e515 100644 --- a/actionpack/lib/action_dispatch/railtie.rb +++ b/actionpack/lib/action_dispatch/railtie.rb @@ -3,8 +3,7 @@ require "rails" module ActionDispatch class Railtie < Rails::Railtie - railtie_name :action_dispatch - + config.action_dispatch = ActiveSupport::OrderedOptions.new config.action_dispatch.x_sendfile_header = "X-Sendfile" config.action_dispatch.ip_spoofing_check = true |