Sha256: 6d668cb2e5a3d6b9d94bd439b27493ac133ba91ef406a6496c7618de799a9b98

Contents?: true

Size: 358 Bytes

Versions: 5

Compression:

Stored size: 358 Bytes

Contents

# -*- coding: utf-8 -*-

require 'sinatra/base'

gem 'sinatra-static-assets'
require 'sinatra/static_assets'

module Sinatra
  class Winter < Sinatra::Base
    register Sinatra::StaticAssets

    set :app_file,  __FILE__
    set :static, true

    get '/?' do
      @title = "Tatra Mountains, Dolina GÄ…sienicowa (1500 m)"
      erb :index
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sinatra-static-assets-1.0.4 examples/rwinter/winter.rb
sinatra-static-assets-1.0.3 examples/rwinter/winter.rb
sinatra-static-assets-1.0.2 examples/rwinter/winter.rb
sinatra-static-assets-1.0.1 examples/rwinter/winter.rb
sinatra-static-assets-1.0.0 examples/rwinter/winter.rb