mirror of
https://github.com/status-im/consul.git
synced 2025-01-19 10:15:06 +00:00
967afbaaf4
Moves all Route/model hook loading to use Outlet components which listen on route change.
8 lines
207 B
JavaScript
8 lines
207 B
JavaScript
import Route from 'consul-ui/routing/route';
|
|
|
|
export default Route.extend({
|
|
redirect: function(model, transition) {
|
|
this.replaceWith('dc.services.instance', model.name, model.node, model.id);
|
|
},
|
|
});
|