import Ember from 'ember';

export default Ember.Controller.extend({
  actions: {
    deleteMovie: function(movie) {
      console.log('deleteMovie', movie);
    }
  }
});
import Ember from 'ember';

export default Ember.Controller.extend({
  actions: {
    deleteMovie: function(movie) {
      movie.destroyRecord();
    }
  }
});
Delete movie using Ember Data
Delete movie using Ember Data
