Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixing formatting

  • Loading branch information...
commit 612f504ec8b28938e533859a133fddc6f8a5987e 1 parent 9c3876a
@tenderlove authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/phuby/rails.rb
View
3  lib/phuby/rails.rb
@@ -7,7 +7,8 @@ def send_headers response_code; end
def header value, op
k, v = value.split(': ', 2)
- self.code = 302 if k == 'Location' headers[k] = [headers[k], Rack::Utils.unescape(v)].compact.join "\n"
+ self.code = 302 if k == 'Location'
+ headers[k] = [headers[k], Rack::Utils.unescape(v)].compact.join "\n"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.