Change this.model.id to this.model.get('id')

pull/705/head
John Brooks 2014-10-07 18:37:15 -04:00 committed by Justin Richer
parent 5af78f1f66
commit 97666b086f
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ var WhiteListView = Backbone.View.extend({
editWhitelist:function(e) {
e.preventDefault();
app.navigate('admin/whitelist/' + this.model.id, {trigger: true});
app.navigate('admin/whitelist/' + this.model.get('id'), {trigger: true});
},
deleteWhitelist:function(e) {