FIX: "Saved!" wasn't resetting when viewing a different email template

This commit is contained in:
Robin Ward 2015-11-27 12:51:50 -05:00
parent 82ef27bb79
commit c2241ed368
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ export default Ember.Route.extend({
return all.findProperty('id', params.id);
},
setupController(controller, model) {
controller.set('emailTemplate', model);
setupController(controller, emailTemplate) {
controller.setProperties({ emailTemplate, saved: false });
scrollTop();
}
});