sinatra-static-assets/examples/rconfig.ru

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