mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Fix warning about transitionTo being deprecated
This commit is contained in:
parent
e047013956
commit
4fd4cb0091
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue