From f86b02018a4195e199136eb0bd8d127d01cae154 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 21 Mar 2011 10:27:59 -0700 Subject: watcher: remove redundant Rack::Response No need to duplicate code --- lib/raindrops/watcher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3-24-ge0c7