Skip to content

Instantly share code, notes, and snippets.

@vangberg
Created February 11, 2009 23:56
Show Gist options
  • Select an option

  • Save vangberg/62378 to your computer and use it in GitHub Desktop.

Select an option

Save vangberg/62378 to your computer and use it in GitHub Desktop.
require 'sinatra'
class Foo < Sinatra::Base
get '/' do
"Hello, world!"
end
end
require 'rubygems'
require 'sinatra'
require 'app.rb'
map '/fubar' do
run Foo
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment