sinatra-static-assets/examples/mapp1/config.ru

15 lines
230 B
Plaintext
Raw Normal View History

2009-06-01 17:53:37 +00:00
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