Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 300 Bytes
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!" }