diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-26 16:35:23 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-26 16:35:23 -0700 |
commit | c967c5eb8331569f69de4f04b5a73f2a8923565b (patch) | |
tree | ef14f83807659d39ab48724e158acae122d2c572 /actionpack/lib | |
parent | e6425f6ecad2a1b771455f73ada9d15f72a687eb (diff) | |
download | rails-c967c5eb8331569f69de4f04b5a73f2a8923565b.tar.gz rails-c967c5eb8331569f69de4f04b5a73f2a8923565b.tar.bz2 rails-c967c5eb8331569f69de4f04b5a73f2a8923565b.zip |
remove redefined method
Rack::Response::Helpers implements this method, so we can safely remove
it
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/http/response.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb index c83b682f69..d860e00217 100644 --- a/actionpack/lib/action_dispatch/http/response.rb +++ b/actionpack/lib/action_dispatch/http/response.rb @@ -265,9 +265,6 @@ module ActionDispatch # :nodoc: end # The location header we'll be responding with. - def location - headers[LOCATION] - end alias_method :redirect_url, :location # Sets the location header we'll be responding with. |