Created
November 11, 2009 18:23
-
-
Save jpoz/232169 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rubygems' | |
| require 'sinatra' | |
| require 'almaz' | |
| use Almaz::Capture # used to capture all requests | |
| use Almaz::View # add /stats | |
| Almaz::View.user('jpoz','pass') # set your username and password here for the /stats area | |
| get '/' do | |
| 'Wazz up party people. Welcome to my site. Do what ever you want no body is watching you.' | |
| end | |
| get '/jpoz' do | |
| 'WOrrd' | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment