Skip to content

Commit e871f26

Browse files
authored
Update model.js
1 parent c1b5f8a commit e871f26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

addon/mixins/model.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ export default Ember.Mixin.create({
4040
markForDeletion() {
4141
this.set('_markedForDeletion', true);
4242
},
43+
44+
unmarkForDeletion() {
45+
this.set('_markedForDeletion', false);
46+
},
4347

4448
markForDestruction() {
4549
this.set('_markedForDestruction', true);

0 commit comments

Comments
 (0)