aboutsummaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2018-04-27 16:04:30 -0700
committerAdam Mathes <adam@trenchant.org>2018-04-27 16:04:30 -0700
commitae2a4e379f830b4bcabe83981055f91537860c76 (patch)
tree30b3488398b38cec37cffccea57c0c2fa0aab07f /static
parent5068ca5c0d88694ec1c25dce81c747d5cfa6b54e (diff)
downloadneko-ae2a4e379f830b4bcabe83981055f91537860c76.tar.gz
neko-ae2a4e379f830b4bcabe83981055f91537860c76.tar.bz2
neko-ae2a4e379f830b4bcabe83981055f91537860c76.zip
fix broken backone weirdness
Diffstat (limited to 'static')
-rw-r--r--static/ui.js3
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');