sinatra-static-assets/examples/rconfig.ru

18 lines
241 B
Plaintext
Raw Normal View History

2009-06-01 18:00:28 +00:00
require 'rsummer/mapp'
require 'rwinter/mapp'
2009-06-01 17:53:37 +00:00
2009-06-01 18:00:28 +00:00
Rapp = Rack::Builder.new do
2009-06-01 17:53:37 +00:00
use Rack::ShowExceptions
use Rack::Lint
map '/mapp1' do
run Sinatra::Mapp1.new
end
map '/mapp2' do
run Sinatra::Mapp2.new
end
end
2009-06-01 18:00:28 +00:00
run Rapp