2009-06-01 21:12:22 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
require 'sinatra/base'
|
|
|
|
|
2009-10-19 19:07:23 +00:00
|
|
|
gem 'sinatra-static-assets'
|
2009-06-01 21:12:22 +00:00
|
|
|
require 'sinatra/static_assets'
|
|
|
|
|
|
|
|
module Sinatra
|
|
|
|
class Summer < Sinatra::Base
|
|
|
|
helpers Sinatra::UrlForHelper
|
|
|
|
helpers Sinatra::StaticAssets
|
|
|
|
|
|
|
|
set :app_file, __FILE__
|
|
|
|
set :static, true
|
|
|
|
|
|
|
|
get '/?' do
|
|
|
|
@title = "Tatra Mountains, Błyszcz (2159 m)"
|
2009-06-01 22:00:42 +00:00
|
|
|
erb :index
|
2009-06-01 21:12:22 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|