replaceWith (name, models) Transitionpublic
Defined in packages/ember-routing/lib/system/route.js:1093
Transition into another route while replacing the current URL, if possible. This will replace the current history entry instead of adding a new one. Beside that, it is identical to transitionTo in all other respects. See 'transitionTo' for additional information regarding multiple models. Example App.Router.map(function() {
this.route('index');
this.route('secret');
});
App.SecretRout