Skip to content

Instantly share code, notes, and snippets.

@balinterdi
Created August 8, 2010 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save balinterdi/514649 to your computer and use it in GitHub Desktop.
Save balinterdi/514649 to your computer and use it in GitHub Desktop.
class HomeApp
def call(env)
[200, {"Content-Type" => "text/plain"}, ["Hello World!"]]
end
end
Marketinsushi::Application.routes.draw do |map|
# match "/home" => HomeApp
mount HelloWorld.new => "/home"
match '/' => "static#welcome"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment