Refactor likes/flags to simplify things a lot

This commit is contained in:
Robin Ward
2015-07-14 15:50:27 -04:00
parent 5f3c381dc2
commit cc2a33617f
9 changed files with 25 additions and 36 deletions

View File

@ -15,7 +15,7 @@ function setup(store) {
});
this.on('toggleLike', function() {
post.toggleProperty('actionByName.like.acted');
post.toggleProperty('likeAction.acted');
});
this.set('post', post);