diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-03-21 10:27:59 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-03-21 10:41:20 -0700 |
commit | f86b02018a4195e199136eb0bd8d127d01cae154 (patch) | |
tree | da86e933d46fae11f2c49413a74022522f0e759b | |
parent | cfadf58e6bce04b750605fd71d0cce6bbb06d8b0 (diff) | |
download | raindrops-f86b02018a4195e199136eb0bd8d127d01cae154.tar.gz |
No need to duplicate code
-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 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 |