Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
require 'rubygems'
require 'sinatra'
require 'haml'
get '/' do
haml :index, :layout => false #=> Don't use layout.haml.
get '/about' do
haml :about, :layout => 'layout2' #=> Use layout2.haml.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment