From ee20faff8530956dd25ab45a163434fdb9f7e971 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Thu, 8 Nov 2012 21:30:16 +0100 Subject: this should not be in here --- config.ru | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 config.ru (limited to 'config.ru') 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 -- cgit v1.2.3-70-g09d2