Sha256: e14ad1b541dbb74ccbe46ced2c2c1b3fc7b61f6561a7a80c598d0d8b09873036

Contents?: true

Size: 232 Bytes

Versions: 3

Compression:

Stored size: 232 Bytes

Contents

require 'sinatra/base'
require 'sinatra/exstatic_assets'

module Example
  class App < Sinatra::Base
    register Sinatra::Exstatic

    get "/" do
      erb :index
    end

    get "/deeper" do
      erb :index
    end
  
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sinatra-exstatic-assets-3.1.1 examples/app/main.rb
sinatra-exstatic-assets-3.1.0 examples/app/main.rb
sinatra-exstatic-assets-3.0.0 examples/app/main.rb