Sha256: bc43012010d4ead76e325502575029382c31997e7dc68b6706f33547e158e124

Contents?: true

Size: 340 Bytes

Versions: 7

Compression:

Stored size: 340 Bytes

Contents

require File.expand_path "./app/main.rb", File.dirname(__FILE__)
require File.expand_path "./app2/main.rb", File.dirname(__FILE__)

module Example
  def self.app
    app = Rack::Builder.app do 
      map "/app2" do
        run Example::App2
      end
      
      map "/" do
        run Example::App
      end
    end
    #run app
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sinatra-exstatic-assets-3.1.1 examples/config.rb
sinatra-exstatic-assets-3.1.0 examples/config.rb
sinatra-exstatic-assets-3.0.0 examples/config.rb
sinatra-exstatic-assets-2.0.4 examples/config.rb
sinatra-exstatic-assets-2.0.3 examples/config.rb
sinatra-exstatic-assets-2.0.1 examples/config.rb
sinatra-exstatic-assets-2.0.0 examples/config.rb