Skip to content

Instantly share code, notes, and snippets.

@denysonique
Created February 8, 2012 13:17
Show Gist options
  • Save denysonique/1769394 to your computer and use it in GitHub Desktop.
Save denysonique/1769394 to your computer and use it in GitHub Desktop.
require 'sinatra'
require 'haml'
get '/hi/:variable' do
@variable = params[:variable]
haml :template_file
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment