Skip to content
Browse files

Added blank content type to redirect to fix lint error

  • Loading branch information...
1 parent b8778d8 commit 9f31142bc71d9dab18e7d6901fadcf961b3ae812 @bousquet bousquet committed Feb 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rack/mailer.rb
View
2 lib/rack/mailer.rb
@@ -58,7 +58,7 @@ def output_or_redirect message, path
end
def redirect path
- [301, {'Location' => path}, []]
+ [301, {'Location' => path, 'Content-Type' => ''}, []]
end
def output message

0 comments on commit 9f31142

Please sign in to comment.
Something went wrong with that request. Please try again.