Sha256: 0a73f51d3bbbcb9f28d79fc1eb6050f63908d98507090c9761fa23296fed30e3

Contents?: true

Size: 398 Bytes

Versions: 5

Compression:

Stored size: 398 Bytes

Contents

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

require 'sinatra/base'

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

module Sinatra
  class Mapp2 < Sinatra::Base
    helpers Sinatra::UrlForHelper
    helpers Sinatra::StaticAssets
    
    set :app_file,  __FILE__
    set :static, true  
    
    get '/' do
      @title = "Tatra Mountains, Dolina GÄ…sienicowa (1500 m)"
      erb :mapp
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
wbzyl-rack-static-assets-0.0.2 examples/mapp2/mapp.rb
wbzyl-sinatra-static-assets-0.0.10 examples/mapp2/mapp.rb
wbzyl-sinatra-static-assets-0.0.8 examples/mapp2/mapp.rb
wbzyl-sinatra-static-assets-0.0.9 examples/mapp2/mapp.rb
wbzyl-sinatra-static-assets-0.1.1 examples/rwinter/mapp.rb