diff options
author | wycats <wycats@gmail.com> | 2010-03-16 23:24:00 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-03-16 23:24:00 -0700 |
commit | cd9ffd11e13ef6e62eba2cbd5c3760ff04132820 (patch) | |
tree | 0fcc940424e1265f03d5df623f324cf7ca310dd3 /actionpack/lib/action_controller/metal | |
parent | c7388124153e1b1f85965998e5d1c20eed670da8 (diff) | |
download | rails-cd9ffd11e13ef6e62eba2cbd5c3760ff04132820.tar.gz rails-cd9ffd11e13ef6e62eba2cbd5c3760ff04132820.tar.bz2 rails-cd9ffd11e13ef6e62eba2cbd5c3760ff04132820.zip |
Eliminate warnings for AM on 1.8
Diffstat (limited to 'actionpack/lib/action_controller/metal')
-rw-r--r-- | actionpack/lib/action_controller/metal/rack_delegation.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/metal/rack_delegation.rb b/actionpack/lib/action_controller/metal/rack_delegation.rb index 37106733cb..060117756e 100644 --- a/actionpack/lib/action_controller/metal/rack_delegation.rb +++ b/actionpack/lib/action_controller/metal/rack_delegation.rb @@ -5,10 +5,8 @@ module ActionController module RackDelegation extend ActiveSupport::Concern - included do - delegate :headers, :status=, :location=, :content_type=, - :status, :location, :content_type, :to => "@_response" - end + delegate :headers, :status=, :location=, :content_type=, + :status, :location, :content_type, :to => "@_response" def dispatch(action, request) @_response = ActionDispatch::Response.new |