Permalink
Browse files

Fix loop introduced by rack:dda892d

  • Loading branch information...
1 parent 69a1a0a commit 0dfdbdd4f447ada9b4d6653f34f609802ae597a5 @jeremy jeremy committed Oct 26, 2010
Showing with 1 addition and 6 deletions.
  1. +1 −6 actionpack/lib/action_dispatch/http/url.rb
@@ -8,11 +8,6 @@ def url
protocol + host_with_port + fullpath
end
- # Returns 'https' if this is an SSL request and 'http' otherwise.
- def scheme
- ssl? ? 'https' : 'http'
- end
-
# Returns 'https://' if this is an SSL request and 'http://' otherwise.
def protocol
@protocol ||= ssl? ? 'https://' : 'http://'
@@ -99,4 +94,4 @@ def named_host?(host)
end
end
end
-end
+end

0 comments on commit 0dfdbdd

Please sign in to comment.