lib/generators/templates/scaffold/route/new.js.es6 in ember-appkit-rails-0.3.2 vs lib/generators/templates/scaffold/route/new.js.es6 in ember-appkit-rails-0.4.0

- old
+ new

@@ -7,11 +7,10 @@ if (model.get('isNew')) { model.deleteRecord(); } }, actions: { - save: function() { - var model = this.get('controller.model'); + save: function(model) { var _this = this; model.save().then(function() { _this.transitionTo('<%= file_name.pluralize -%>.show', model); }); },