documentcloud/backbone — pull request #1225 by artellectual (2012-04-16 04:23:52+00:00)
Title: model.url() behavoir is slightly different from the documentation

Based on the documentation

Returns the relative URL where the model's resource would be located on the server. If your models are located somewhere else, override this method with the correct logic. Generates URLs of the form: "/[collection.url]/[id]", falling back to "/[urlRoot]/id" if the model is not part of a collection.

it should try to get the collection.url before the urlRoot