Skip to content

Instantly share code, notes, and snippets.

@kgrz
Created May 31, 2012 12:29
Show Gist options
  • Select an option

  • Save kgrz/2843072 to your computer and use it in GitHub Desktop.

Select an option

Save kgrz/2843072 to your computer and use it in GitHub Desktop.
sinatra-reloader test
TestApp::Application.routes.draw do
class Api2 < Sinatra::Base
configure :development do
register Sinatra::Reloader
end
configure :production {}
get '/hello' do
"Hello World!"
end
end
mount Api2.new, :at => "/api2"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment