sinatra-static-assets/examples/rconfig.ru

14 lines
193 B
Plaintext
Raw Normal View History

2009-06-02 09:41:10 +00:00
$LOAD_PATH.unshift('rsummer')
require 'summer'
$LOAD_PATH.unshift('rwinter')
require 'winter'
2009-06-01 17:53:37 +00:00
map '/summer' do
run Sinatra::Summer.new
end
2009-06-01 17:53:37 +00:00
map '/winter' do
run Sinatra::Winter.new
2009-06-01 17:53:37 +00:00
end