Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (17 sloc) 348 Bytes
require 'sinatra'
require 'pathname'
require 'json'
class DoggieWars < Sinatra::Application
set(:views) { root }
configure :development do
require 'sinatra/reloader'
end
helpers do
def templates
Pathname(settings.root).join("templates").children
end
end
get '/' do
haml :layout, :layout => false
end
end
Jump to Line
Something went wrong with that request. Please try again.