Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 273 Bytes
require 'rubygems'
require 'sinatra'
class PokerApp < Sinatra::Base
get '/' do
haml :home, :layout => :index
end
get '/test' do
haml :test
end
configure do
set :public_folder, Proc.new { File.join(root, "static") }
enable :sessions
end
end
Jump to Line
Something went wrong with that request. Please try again.