aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/http/response.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-26 16:35:23 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-26 16:35:23 -0700
commitc967c5eb8331569f69de4f04b5a73f2a8923565b (patch)
treeef14f83807659d39ab48724e158acae122d2c572 /actionpack/lib/action_dispatch/http/response.rb
parente6425f6ecad2a1b771455f73ada9d15f72a687eb (diff)
downloadrails-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/action_dispatch/http/response.rb')
-rw-r--r--actionpack/lib/action_dispatch/http/response.rb3
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.