Permalink
Browse files

less inspection :-)

  • Loading branch information...
1 parent 8ffee0a commit 8c543eea864b537596ca34f8476ce40dca842647 @momolog momolog committed May 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ssl_requirement.rb
View
@@ -104,7 +104,7 @@ def ssl_allowed?
def ensure_proper_protocol
return true if SslRequirement.disable_ssl_check?
- raise "cannot redirect http methods other than GET. request: #{request.inspect}" unless request.get?
+ raise "cannot redirect http methods other than GET. request: #{request.method}##{request.fullpath}" unless request.get?
if ssl_required? && !request.ssl?
redirect_to determine_redirect_url(request, true), :status => (redirect_status || :found)

0 comments on commit 8c543ee

Please sign in to comment.