PaulUithol/backbone-tastypie — pull request #22 by anttihirvonen (2012-06-19 13:29:55+00:00)
Title: Allow Model#urlRoot to be defined as a function

Hi!

This is just a small fix to allow Model#urlRoot to be defined as a function. Backbone 0.9.0 introduced a change to allow Model#urlRoot to be a function or value – this fixes Model#url to work with both types.