lib/monocle/server.rb in monocle-0.0.1 vs lib/monocle/server.rb in monocle-0.1.0

- old
+ new

@@ -9,7 +9,12 @@ "o_0 +1" rescue ActiveRecord::RecordNotFound "o_0" end end + + get "/:type/:id" do + content_type("image/gif") + File.open(File.join(File.dirname(__FILE__), "..", "transparent.gif")) + end end end