From 4fd4cb009136b3068ee5e881ac3d84c1f1240b47 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Sat, 21 Jun 2014 18:22:15 +0100 Subject: [PATCH] Fix warning about transitionTo being deprecated --- core/client/controllers/editor/new.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/client/controllers/editor/new.js b/core/client/controllers/editor/new.js index ff9af9d876..841c5ac198 100644 --- a/core/client/controllers/editor/new.js +++ b/core/client/controllers/editor/new.js @@ -9,7 +9,7 @@ var EditorNewController = Ember.ObjectController.extend(EditorControllerMixin, { var self = this; this._super().then(function (model) { if (model.get('id')) { - self.transitionTo('editor.edit', model); + self.transitionToRoute('editor.edit', model); } return model; });