Fix 'post to single aspect' cukes
This commit is contained in:
parent
98eca2d1a6
commit
4e5d09e6c5
1 changed files with 2 additions and 2 deletions
|
|
@ -119,8 +119,8 @@ app.Router = Backbone.Router.extend({
|
|||
},
|
||||
|
||||
aspects: function() {
|
||||
app.aspects = new app.collections.Aspects(app.currentUser.get("aspects"));
|
||||
this.aspectsList = new app.views.AspectsList({ collection: app.aspects });
|
||||
app.aspects = app.aspects || new app.collections.Aspects(app.currentUser.get("aspects"));
|
||||
this.aspectsList = this.aspectsList || new app.views.AspectsList({ collection: app.aspects });
|
||||
this.aspectsList.render();
|
||||
this.aspects_stream();
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue