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

pull/705/head
John Brooks 10 years ago committed by Justin Richer
parent 5af78f1f66
commit 97666b086f

@ -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) {

Loading…
Cancel
Save