Sha256: e9d9531f7295313bc0ba189c9a0d7dfdc6b843ae67e6af1f720b890c094feadc

Contents?: true

Size: 352 Bytes

Versions: 9

Compression:

Stored size: 352 Bytes

Contents

$stdout.sync = true

require './setup'

map '/assets' do
  environment = Sprockets::Environment.new
  %w{javascripts stylesheets images templates}.each do |path|
    environment.append_path "./assets/#{path}"
    environment.append_path "./vendor/assets/#{path}"
  end
  run environment
end

use Rack::MethodOverride

map "/" do
  run TemplateApp
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
deano-1.2.1 template_app/config.ru
deano-1.2.0 template_app/config.ru
deano-1.1.3 template_app/config.ru
deano-1.1.2 template_app/config.ru
deano-1.1.1 template_app/config.ru
deano-1.1.0 template_app/config.ru
deano-1.0.0 template_app/config.ru
sinatra-template-1.3.0 template_app/config.ru
sinatra-template-1.2.0 template_app/config.ru