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