Sha256: cb8055be7e052e961f428f5fdf3a5f9cf6ae8320672c3565e53c9bb06ad02d7a

Contents?: true

Size: 244 Bytes

Versions: 2

Compression:

Stored size: 244 Bytes

Contents

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

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

    configure do
      set :public_folder, "public"
    end

    get "/" do
      erb :index
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sinatra-exstatic-assets-2.0.4 examples/app2/main.rb
sinatra-exstatic-assets-2.0.3 examples/app2/main.rb