aboutsummaryrefslogtreecommitdiff
path: root/config.ru
diff options
context:
space:
mode:
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