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

pull/695/head
John Brooks 2014-10-07 18:37:15 -04:00 committed by Justin Richer
parent 2d6deeb6f3
commit 55a906ae40
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) {