Skip to content

Commit

Permalink
Use Rack's MethodOverride lib [#1699 state:resolved]
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Jan 13, 2009
1 parent 9775c25 commit b281a6a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 27 deletions.
1 change: 0 additions & 1 deletion actionpack/lib/action_controller.rb
Expand Up @@ -80,7 +80,6 @@ def self.load_all!
autoload :UrlEncodedPairParser, 'action_controller/url_encoded_pair_parser'
autoload :UrlRewriter, 'action_controller/url_rewriter'
autoload :UrlWriter, 'action_controller/url_rewriter'
autoload :VerbPiggybacking, 'action_controller/verb_piggybacking'
autoload :Verification, 'action_controller/verification'

module Assertions
Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/middlewares.rb
Expand Up @@ -19,4 +19,4 @@
end

use ActionController::RewindableInput
use ActionController::VerbPiggybacking
use Rack::MethodOverride
24 changes: 0 additions & 24 deletions actionpack/lib/action_controller/verb_piggybacking.rb

This file was deleted.

2 changes: 1 addition & 1 deletion railties/lib/initializer.rb
Expand Up @@ -537,7 +537,7 @@ def initialize_i18n
end

def initialize_metal
configuration.middleware.insert_before(:"ActionController::VerbPiggybacking", Rails::Rack::Metal)
configuration.middleware.insert_before(:"ActionController::RewindableInput", Rails::Rack::Metal)
end

# Initializes framework-specific settings for each of the loaded frameworks
Expand Down

0 comments on commit b281a6a

Please sign in to comment.