Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.291 kb
require 'rubygems' if RUBY_VERSION < "1.9"
require 'sinatra/base'
class MyApp < Sinatra::Base
set :static, true
set :public_folder, File.dirname(__FILE__) + '/public'
get '/about' do
'(c) 2012 Pawel Klosiewicz'
end
get '/' do
'Hello World!'
end
# post ''/
end
MyApp.run!
Jump to Line
Something went wrong with that request. Please try again.