History state is persisted across page reloads now

This commit is contained in:
Mark McDowall
2013-12-12 22:37:37 -08:00
parent 7e20e48023
commit 7dc641b3a9
5 changed files with 22 additions and 8 deletions
@@ -47,7 +47,7 @@ define(
this.model = options.model;
this.series = options.series;
this.collection = new HistoryCollection({ episodeId: this.model.id });
this.collection = new HistoryCollection({ episodeId: this.model.id, tableName: 'episodeActivity' });
this.collection.fetch();
this.listenTo(this.collection, 'sync', this._showTable);
},