Fixed overridden interactions by re-initializing

This commit is contained in:
Lukas Matt 2014-06-18 13:03:07 -04:00
parent 10117b81b3
commit c86b57fe8f

View file

@ -8,8 +8,13 @@ app.views.SinglePostActions = app.views.Feedback.extend({
},
presenter: function() {
var interactions = this.model.interactions
return _.extend(this.defaultPresenter(), {
authorIsNotCurrentUser : this.authorIsNotCurrentUser(),
userCanReshare : interactions.userCanReshare(),
userLike : interactions.userLike(),
userReshare : interactions.userReshare()
})
},