diff --git a/app/gist/route.js b/app/gist/route.js index 4c2a1a6d..fdaa8db1 100644 --- a/app/gist/route.js +++ b/app/gist/route.js @@ -30,7 +30,7 @@ export default Ember.Route.extend({ gist.save().then(() => { this.get('notify').info(`Saved to Gist ${gist.get('id')} on Github`); if(newGist) { - this.transitionTo('gist.edit', gist).then(function() { + this.transitionTo('gist.edit', gist).then(() => { this.send('setSaved'); }); } else {