diff --git a/ecommerce/static/js/models/course_model.js b/ecommerce/static/js/models/course_model.js index feb173e5d4c..6a0e63f42ec 100644 --- a/ecommerce/static/js/models/course_model.js +++ b/ecommerce/static/js/models/course_model.js @@ -31,6 +31,9 @@ define([ return Backbone.RelationalModel.extend({ urlRoot: '/api/v2/courses/', + url: function() { + return Backbone.Model.prototype.url.call(this) + '/'; + }, defaults: { id: null,