Skip to content

Instantly share code, notes, and snippets.

@patcoll
Created November 19, 2010 18:56
Show Gist options
  • Save patcoll/706951 to your computer and use it in GitHub Desktop.
Save patcoll/706951 to your computer and use it in GitHub Desktop.
config.ru
require 'rubygems'
require 'padrino'
class App < Padrino::Application
register Padrino::Mailer
register Padrino::Helpers
get("/") { "index" }
get("/index") { "index" }
get("/index", :provides => :html) { "index" }
get("/index.html") { "index" }
end
run App
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment