diff options
-rw-r--r-- | static/ui.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/static/ui.js b/static/ui.js index 4e6d7e0..6534a20 100644 --- a/static/ui.js +++ b/static/ui.js @@ -208,7 +208,7 @@ var ControlsView = Backbone.View.extend({ var Item = Backbone.Model.extend({ idAttribute: "_id", - url: '/item', + url: '/item/', initialize: function() { var p_url = this.get('url'); @@ -269,7 +269,6 @@ var Item = Backbone.Model.extend({ var ItemCollection = Backbone.Collection.extend({ model: Item, - url: '/item', initialize: function() { _.bindAll(this, 'boot', 'reboot'); |