Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: couchdb
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.316 kb
require 'rubygems'
require 'sinatra'
require 'environment'
configure do
set :views, "#{File.dirname(__FILE__)}/views"
end
error do
e = request.env['sinatra.error']
Kernel.puts e.backtrace.join("\n")
'Application error'
end
helpers do
# add your helpers here
end
# root page
get '/' do
haml :root
end
Jump to Line
Something went wrong with that request. Please try again.