diff --git a/static/scripts/app/collections/repos.js b/static/scripts/app/collections/repos.js index 931c15bba0..f58c2c51eb 100644 --- a/static/scripts/app/collections/repos.js +++ b/static/scripts/app/collections/repos.js @@ -33,7 +33,7 @@ define([ create: function(model, options) { // override default create url options = options ? _.clone(options) : {}; - options.url = this.url + '?from=web'; + options.url = this.url() + '?from=web'; //call Backbone's create return Backbone.Collection.prototype.create.call(this, model, options);