about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-21 10:27:59 -0700
committerEric Wong <normalperson@yhbt.net>2011-03-21 10:41:20 -0700
commitf86b02018a4195e199136eb0bd8d127d01cae154 (patch)
treeda86e933d46fae11f2c49413a74022522f0e759b /lib
parentcfadf58e6bce04b750605fd71d0cce6bbb06d8b0 (diff)
downloadraindrops-f86b02018a4195e199136eb0bd8d127d01cae154.tar.gz
No need to duplicate code
Diffstat (limited to 'lib')
-rw-r--r--lib/raindrops/watcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb
index 6e85241..ada921a 100644
--- a/lib/raindrops/watcher.rb
+++ b/lib/raindrops/watcher.rb
@@ -262,7 +262,7 @@ class Raindrops::Watcher
     when %r{\A/reset/(.+)\z}
       reset!(env, unescape($1))
     else
-      Rack::Response.new(["Not Found"], 404).finish
+      not_found
     end
   end