Skip to content

Commit

Permalink
remove redefined method
Browse files Browse the repository at this point in the history
Rack::Response::Helpers implements this method, so we can safely remove
it
  • Loading branch information
tenderlove committed Aug 26, 2015
1 parent e6425f6 commit c967c5e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions actionpack/lib/action_dispatch/http/response.rb
Expand Up @@ -265,9 +265,6 @@ def delete_cookie(key, value={})
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.
Expand Down

0 comments on commit c967c5e

Please sign in to comment.