sinatra-static-assets/examples/rconfig.ru
2009-06-02 11:41:10 +02:00

14 lines
193 B
Ruby

$LOAD_PATH.unshift('rsummer')
require 'summer'
$LOAD_PATH.unshift('rwinter')
require 'winter'
map '/summer' do
run Sinatra::Summer.new
end
map '/winter' do
run Sinatra::Winter.new
end