diff options
-rw-r--r-- | lib/raindrops/watcher.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb index b7199a1..fb2df5b 100644 --- a/lib/raindrops/watcher.rb +++ b/lib/raindrops/watcher.rb @@ -323,7 +323,7 @@ class Raindrops::Watcher res = Rack::Response.new url = req.referer || "#{req.host_with_port}/" res.redirect(url) - res.content_type.replace "text/plain" + res["Content-Type"] = "text/plain" res.write "Redirecting to #{url}" res.finish end |