Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (16 sloc) 307 Bytes
---
sinatra: |-
A basic Sinatra app
require 'rubygems'
require 'sinatra'
get '/' do
erb :index # renders ./views/index.erb
end
Default directories
/views
/public
With Haml
require 'haml'
get '/' do
haml :index
end