Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2dd8170faf
Konstantin Haase
13 lines (9 sloc) 0.3 kb
require: "sinatra"
configure: { enable: 'sessions }
configure: 'production with: { disable: 'show_errors }
configure: ['production, 'development] with: {
enable: 'logging
before: { "request coming in" println }
get: "/" do: { "This is Fancy!" }
not_found: { "Fancy doesn't know this ditty!" }
Jump to Line
Something went wrong with that request. Please try again.