Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 222 Bytes
require 'rubygems'
require 'sinatra'
require 'erb'
class App < Sinatra::Base
set :static, true
set :public, 'public'
["/", "/index", "/index.html"].each do |path|
get path do
erb :index
end
end
end