Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Action for Base Controller
import Controller from '@ember/controller';
export default Controller.extend({
actions: {
markAsRead(item) {
this.get('store').unloadRecord(item);
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment