Skip to content

Instantly share code, notes, and snippets.

@iamjwc
Created April 11, 2011 18:24
Show Gist options
  • Save iamjwc/913996 to your computer and use it in GitHub Desktop.
Save iamjwc/913996 to your computer and use it in GitHub Desktop.
my mind is blown...
require 'sinatra'
before do
halt 200, {'Content-Type' => 'text/plain'}, "didnt match and it doesnt matter"
end
get '/hey' do
"hey!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment