summaryrefslogtreecommitdiff
path: root/config.ru
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2012-11-08 21:30:16 +0100
committerGibheer <gibheer@gmail.com>2012-11-08 21:36:56 +0100
commitee20faff8530956dd25ab45a163434fdb9f7e971 (patch)
tree7b7b20e6268ff5581d3005c3c6da9fecb926a3bb /config.ru
parent77b4513986f1547f338c73ac2b16d63fee0b386f (diff)
this should not be in here
Diffstat (limited to 'config.ru')
-rw-r--r--config.ru16
1 files changed, 0 insertions, 16 deletions
diff --git a/config.ru b/config.ru
deleted file mode 100644
index c2c7c62..0000000
--- a/config.ru
+++ /dev/null
@@ -1,16 +0,0 @@
-require File.expand_path('../lib/zero.rb', __FILE__)
-require 'json'
-
-class Foo
- def call(env)
- req = Rack::Request.new(env)
- [200, {'Content-Type' => 'text/html'}, ["this works #{req.params.inspect}"]]
- end
-end
-
-routes = Zero::Router.new(
- '/foo/:id' => Foo.new,
- '/' => Foo.new
-)
-
-run routes