Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 284 Bytes
require 'bundler'
Bundler.setup
require File.expand_path('../config/environment', __FILE__)
map '/assets' do
run ThirtyOne.sprockets_environment
end
map '/test' do
run lambda { |e| [200, {"Content-Type" => "text/plain"}, ["Hello?"]] }
end
map '/' do
run ThirtyOne::App
end