le0pard/mongodb_logger — pull request #43 by derfred (2012-09-29 20:43:29+00:00)
Title: allow mounting assets under a non root path

The assets prefix is hardcoded to /assets. This pull request makes this dependent on the path prefix. You can then integrate the web frontend into your Rack app like this:

```ruby
map '/' do
run SomeApp.new
end

MongodbLogger::ServerConfig.set_config "./config/mongodb_logger.yml"
map "/logger" do
run MongodbLogger::Server.new
end

map "/logger/assets" do
run Rack::Directory.new("assets/logger")
end
```