Skip to content

Instantly share code, notes, and snippets.

@vangberg
Created September 15, 2009 17:35
Show Gist options
  • Save vangberg/187475 to your computer and use it in GitHub Desktop.
Save vangberg/187475 to your computer and use it in GitHub Desktop.
require 'sinatra'
class A < Sinatra::Base
get('/') { "boo!" }
end
class B < Sinatra::Base
get('/') { "boo!" }
end
class C < Sinatra::Base
get('/') { "boo!" }
end
require 'all'
map('/a') { run A }
map('/b') { run B }
map('/c') { run C }
require 'one'
map('/a') { run A }
require 'sinatra'
class A < Sinatra::Base
get('/') { "boo!" }
end
config-one / one: RSS 22M
config-all / all: RSS 23M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment