diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2014-11-24 14:58:01 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2014-11-24 14:58:01 -0200 |
commit | 48a88305876f1b73329d325d58c9eee9f10e972b (patch) | |
tree | b32341d730c307b6ecd2e2a8534c0977dd27f8a7 /railties/lib | |
parent | e3acd74fa8cbe5c09321ee75dd387e9d8cb044fc (diff) | |
parent | 47ca6664fb51823709cc8fbcfa5cea510da18879 (diff) | |
download | rails-48a88305876f1b73329d325d58c9eee9f10e972b.tar.gz rails-48a88305876f1b73329d325d58c9eee9f10e972b.tar.bz2 rails-48a88305876f1b73329d325d58c9eee9f10e972b.zip |
Merge pull request #17737 from yui-knk/fix/head
Replace ActionDispatch::Head with Rack::Head.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/configuration.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/configuration.rb b/railties/lib/rails/configuration.rb index f5d7dede66..f99cec04c5 100644 --- a/railties/lib/rails/configuration.rb +++ b/railties/lib/rails/configuration.rb @@ -18,11 +18,11 @@ module Rails # This will put the <tt>Magical::Unicorns</tt> middleware on the end of the stack. # You can use +insert_before+ if you wish to add a middleware before another: # - # config.middleware.insert_before ActionDispatch::Head, Magical::Unicorns + # config.middleware.insert_before Rack::Head, Magical::Unicorns # # There's also +insert_after+ which will insert a middleware after another: # - # config.middleware.insert_after ActionDispatch::Head, Magical::Unicorns + # config.middleware.insert_after Rack::Head, Magical::Unicorns # # Middlewares can also be completely swapped out and replaced with others: # |