2020-10-01 08:33:22 +00:00
|
|
|
import Route from 'consul-ui/routing/route';
|
2020-07-09 09:08:47 +00:00
|
|
|
|
|
|
|
export default Route.extend({
|
|
|
|
model: function(params, transition) {
|
|
|
|
return {
|
|
|
|
nspace: '*',
|
|
|
|
dc: this.paramsFor('dc').dc,
|
|
|
|
service: this.paramsFor('dc.services.show').name,
|
2020-09-30 11:33:01 +00:00
|
|
|
src: params.intention_id,
|
2020-07-09 09:08:47 +00:00
|
|
|
};
|
|
|
|
},
|
|
|
|
setupController: function(controller, model) {
|
2020-10-01 08:33:22 +00:00
|
|
|
this._super(...arguments);
|
2020-07-09 09:08:47 +00:00
|
|
|
controller.setProperties(model);
|
|
|
|
},
|
|
|
|
});
|