tbranyen/backbone.layoutmanager — Issue #17: running sample app from Sinatra
Author: derickbailey
Created: 2011-12-06 15:09:58+00:00
State: open

I'm not sure how you set up the sample app to run on your box, but it wouldn't run from flat files, as it was looking for /js, which sent it back to the root of my hard drive to get the javascript files.

I set up a small Sinatra script to run it, though, and thought others mights want to do the same. here's that script:

````
# app.rb

require 'sinatra'

set :public_folder, "./"

get "/" do
redirect "/index.html"
end
````