mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 03:29:43 +00:00
bc77d91587
* Remove Proxy Info and create Upstreams and Exposed Paths tabs * Update routes formatting * Update typo for Expose.Checks * Remove, update, and add tests * Make consul-upstream-instance-list into a glimmer component * Create styling for upstream-instance-list component
17 lines
365 B
JavaScript
17 lines
365 B
JavaScript
import Route from 'consul-ui/routing/route';
|
|
|
|
export default class ExposedpathsRoute extends Route {
|
|
model() {
|
|
const parent = this.routeName
|
|
.split('.')
|
|
.slice(0, -1)
|
|
.join('.');
|
|
return this.modelFor(parent);
|
|
}
|
|
|
|
setupController(controller, model) {
|
|
super.setupController(...arguments);
|
|
controller.setProperties(model);
|
|
}
|
|
}
|