sinatra-static-assets/examples/rsummer/summer.rb
2009-11-23 23:28:59 +01:00

22 lines
391 B
Ruby

# -*- coding: utf-8 -*-
require 'sinatra/base'
gem 'sinatra-static-assets'
require 'sinatra/static_assets'
module Sinatra
class Summer < Sinatra::Base
helpers Sinatra::UrlForHelper
register Sinatra::StaticAssets
set :app_file, __FILE__
set :static, true
get '/?' do
@title = "Tatra Mountains, Błyszcz (2159 m)"
erb :index
end
end
end