diff options
author | Gibheer <gibheer@gmail.com> | 2012-11-08 21:30:16 +0100 |
---|---|---|
committer | Gibheer <gibheer@gmail.com> | 2012-11-08 21:36:56 +0100 |
commit | ee20faff8530956dd25ab45a163434fdb9f7e971 (patch) | |
tree | 7b7b20e6268ff5581d3005c3c6da9fecb926a3bb | |
parent | 77b4513986f1547f338c73ac2b16d63fee0b386f (diff) |
this should not be in here
-rw-r--r-- | config.ru | 16 |
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 |