a guest Jun 13th, 2018 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- 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.
RAW Paste Data