sinatra-static-assets/examples/mapp1/config.ru
2009-06-01 19:53:37 +02:00

15 lines
230 B
Ruby

require 'mapp'
Mapp1 = Rack::Builder.new do
use Rack::ShowExceptions
use Rack::Lint
use Rack::Static, :urls => ["/stylesheets", "/images"], :root => "public"
map '/' do
run Sinatra::Mapp1.new
end
end
run Mapp1